remove py._pydir as rsync candidate
This commit is contained in:
1
changelog/823.trivial.rst
Normal file
1
changelog/823.trivial.rst
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Remove usage of ``py._pydir`` as an rsync candidate.
|
||||||
@@ -101,7 +101,7 @@ class NodeManager:
|
|||||||
pytestpath = get_dir(pytest.__file__)
|
pytestpath = get_dir(pytest.__file__)
|
||||||
pytestdir = get_dir(_pytest.__file__)
|
pytestdir = get_dir(_pytest.__file__)
|
||||||
config = self.config
|
config = self.config
|
||||||
candidates = [py._pydir, pytestpath, pytestdir]
|
candidates = [pytestpath, pytestdir]
|
||||||
candidates += config.option.rsyncdir
|
candidates += config.option.rsyncdir
|
||||||
rsyncroots = config.getini("rsyncdirs")
|
rsyncroots = config.getini("rsyncdirs")
|
||||||
if rsyncroots:
|
if rsyncroots:
|
||||||
|
|||||||
Reference in New Issue
Block a user