Merge pull request #823 from pytest-dev/remove-pydir

remove py._pydir as rsync candidate
This commit is contained in:
Anthony Sottile
2022-10-21 20:38:22 -04:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -0,0 +1 @@
Remove usage of ``py._pydir`` as an rsync candidate.

View File

@@ -101,7 +101,7 @@ class NodeManager:
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: