Skip to content

Commit 61ce622

Browse files
matthias-marginionelmc
authored andcommitted
remove rsyncdir usage since pytest-xdist has deprecated it
1 parent ff3fdd8 commit 61ce622

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/pytest_cov/engine.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -270,12 +270,6 @@ class DistMaster(CovController):
270270
def start(self):
271271
cleanup()
272272

273-
# Ensure coverage rc file rsynced if appropriate.
274-
if self.cov_config and Path(self.cov_config).exists():
275-
# rsyncdir is going away in pytest-xdist 4.0, already deprecated
276-
if hasattr(self.config.option, 'rsyncdir'):
277-
self.config.option.rsyncdir.append(self.cov_config)
278-
279273
self.cov = coverage.Coverage(
280274
source=self.cov_source,
281275
branch=self.cov_branch,

0 commit comments

Comments
 (0)