Skip to content

Commit

Permalink
remove py._pydir as rsync candidate
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Oct 21, 2022
1 parent e407a33 commit 42024f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog/823.trivial.rst
@@ -0,0 +1 @@
Remove usage of ``py._pydir`` as an rsync candidate.
2 changes: 1 addition & 1 deletion src/xdist/workermanage.py
Expand Up @@ -101,7 +101,7 @@ def get_dir(p):
pytestpath = get_dir(pytest.__file__)
pytestdir = get_dir(_pytest.__file__)
config = self.config
candidates = [py._pydir, pytestpath, pytestdir]
candidates = [pytestpath, pytestdir]
candidates += config.option.rsyncdir
rsyncroots = config.getini("rsyncdirs")
if rsyncroots:
Expand Down

0 comments on commit 42024f3

Please sign in to comment.