Skip to content

Commit

Permalink
remove rsyncdir usage since pytest-xdist has deprecated it
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-margin authored and ionelmc committed Mar 17, 2024
1 parent ff3fdd8 commit 61ce622
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/pytest_cov/engine.py
Expand Up @@ -270,12 +270,6 @@ class DistMaster(CovController):
def start(self):
cleanup()

# Ensure coverage rc file rsynced if appropriate.
if self.cov_config and Path(self.cov_config).exists():
# rsyncdir is going away in pytest-xdist 4.0, already deprecated
if hasattr(self.config.option, 'rsyncdir'):
self.config.option.rsyncdir.append(self.cov_config)

self.cov = coverage.Coverage(
source=self.cov_source,
branch=self.cov_branch,
Expand Down

0 comments on commit 61ce622

Please sign in to comment.