Author: Antonio Cuni <[email protected]>
Branch: 
Changeset: r55607:dbfbba7dc013
Date: 2012-06-12 10:17 +0200
http://bitbucket.org/pypy/pypy/changeset/dbfbba7dc013/

Log:    return an absolute path: since we chdir before executing the tests,
        relative paths hardcoded in a global object don't work

diff --git a/pypy/translator/goal/test2/test_app_main.py 
b/pypy/translator/goal/test2/test_app_main.py
--- a/pypy/translator/goal/test2/test_app_main.py
+++ b/pypy/translator/goal/test2/test_app_main.py
@@ -23,8 +23,7 @@
 def getscript(source):
     p = _get_next_path()
     p.write(str(py.code.Source(source)))
-    # return relative path for testing purposes 
-    return py.path.local().bestrelpath(p) 
+    return str(p)
 
 def getscript_pyc(space, source):
     p = _get_next_path()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to