Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r58714:9a3abd907a55
Date: 2012-11-04 13:37 +0100
http://bitbucket.org/pypy/pypy/changeset/9a3abd907a55/

Log:    Support for a machine where /tmp is actually a symlink

diff --git a/pypy/module/sys/test/test_initpath.py 
b/pypy/module/sys/test/test_initpath.py
--- a/pypy/module/sys/test/test_initpath.py
+++ b/pypy/module/sys/test/test_initpath.py
@@ -43,6 +43,7 @@
 
 def test_find_executable(tmpdir, monkeypatch):
     from pypy.module.sys import initpath
+    tmpdir = py.path.local(os.path.realpath(str(tmpdir)))
     # /tmp/a/pypy
     # /tmp/b/pypy
     # /tmp/c
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to