File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ Again but spread over different hosts and different directories::
30
30
pytest --cov=myproj --dist load
31
31
--tx ssh=memedough@host1//chdir=testenv1
32
32
--tx ssh=memedough@host2//chdir=/tmp/testenv2//python=/tmp/env1/bin/python
33
- --rsyncdir myproj --rsyncdir tests -- rsync examples
33
+ --rsync examples
34
34
tests/
35
35
36
36
Shows a terminal report::
Original file line number Diff line number Diff line change @@ -248,7 +248,9 @@ def start(self):
248
248
249
249
# Ensure coverage rc file rsynced if appropriate.
250
250
if self .cov_config and os .path .exists (self .cov_config ):
251
- self .config .option .rsyncdir .append (self .cov_config )
251
+ # rsyncdir is going away in pytest-xdist 4.0, already deprecated
252
+ if hasattr (self .config .option , 'rsyncdir' ):
253
+ self .config .option .rsyncdir .append (self .cov_config )
252
254
253
255
self .cov = coverage .Coverage (source = self .cov_source ,
254
256
branch = self .cov_branch ,
You can’t perform that action at this time.
0 commit comments