We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9789af commit 2ea9442Copy full SHA for 2ea9442
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