[py-svn] py-trunk commit 1d5efcae2963: trying a bit harder to get a realpath for the py lib because

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu Oct 29 23:46:37 CET 2009


# HG changeset patch -- Bitbucket.org
# Project py-trunk
# URL http://bitbucket.org/hpk42/py-trunk/overview/
# User holger krekel <holger at merlinux.eu>
# Date 1256844609 -3600
# Node ID 1d5efcae2963bae69400a1f72fa6cd72348da4cb
# Parent 4427bfe18bec943c132d92ff66d3a253517142ce
trying a bit harder to get a realpath for the py lib because
execnet-rsync does not support working with links

--- 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():



More information about the pytest-commit mailing list