We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 591f03d commit 4865becCopy full SHA for 4865bec
src/pytest_cov/engine.py
@@ -260,7 +260,9 @@ def start(self):
260
261
# Ensure coverage rc file rsynced if appropriate.
262
if self.cov_config and os.path.exists(self.cov_config):
263
- self.config.option.rsyncdir.append(self.cov_config)
+ # rsyncdir is going away in pytest-xdist 4.0, already deprecated
264
+ if hasattr(self.config.option, 'rsyncdir'):
265
+ self.config.option.rsyncdir.append(self.cov_config)
266
267
self.cov = coverage.Coverage(source=self.cov_source,
268
branch=self.cov_branch,
0 commit comments