diff --git a/_py/test/config.py b/_py/test/config.py index e1c132988..cad7b15c8 100644 --- a/_py/test/config.py +++ b/_py/test/config.py @@ -261,8 +261,8 @@ class Config(object): conftestroots = config.getconftest_pathlist("rsyncdirs") if conftestroots: roots.extend(conftestroots) - pydirs = [py.path.local(py.__file__).dirpath(), - py._impldir] + pydirs = [x.realpath() for x in [py.path.local(py.__file__).dirpath(), + py._impldir]] roots = [py.path.local(root) for root in roots] for root in roots: if not root.check():