[pypy-svn] r62052 - pypy/trunk/pypy/rpython/module/test
afa at codespeak.net
afa at codespeak.net
Fri Feb 20 16:05:31 CET 2009
Author: afa
Date: Fri Feb 20 16:05:31 2009
New Revision: 62052
Modified:
pypy/trunk/pypy/rpython/module/test/test_ll_os.py
Log:
Fix test: python is not always in the system PATH
Modified: pypy/trunk/pypy/rpython/module/test/test_ll_os.py
==============================================================================
--- pypy/trunk/pypy/rpython/module/test/test_ll_os.py (original)
+++ pypy/trunk/pypy/rpython/module/test/test_ll_os.py Fri Feb 20 16:05:31 2009
@@ -56,7 +56,7 @@
def test_system():
filename = str(udir.join('test_system.txt'))
- arg = 'python -c "print 1+1" > %s' % filename
+ arg = '%s -c "print 1+1" > %s' % (sys.executable, filename)
data = getllimpl(os.system)(arg)
assert data == 0
assert file(filename).read().strip() == '2'
More information about the Pypy-commit
mailing list