Skip to content

Commit f04cd22

Browse files
authored
Merge pull request #823 from pytest-dev/remove-pydir
remove py._pydir as rsync candidate
2 parents e407a33 + 42024f3 commit f04cd22

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog/823.trivial.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove usage of ``py._pydir`` as an rsync candidate.

src/xdist/workermanage.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def get_dir(p):
101101
pytestpath = get_dir(pytest.__file__)
102102
pytestdir = get_dir(_pytest.__file__)
103103
config = self.config
104-
candidates = [py._pydir, pytestpath, pytestdir]
104+
candidates = [pytestpath, pytestdir]
105105
candidates += config.option.rsyncdir
106106
rsyncroots = config.getini("rsyncdirs")
107107
if rsyncroots:

0 commit comments

Comments
 (0)