[pypy-svn] r61283 - pypy/trunk/pypy/interpreter/test
fijal at codespeak.net
fijal at codespeak.net
Fri Jan 23 20:43:52 CET 2009
Author: fijal
Date: Fri Jan 23 20:43:52 2009
New Revision: 61283
Modified:
pypy/trunk/pypy/interpreter/test/test_zpy.py
Log:
according to docstring, this test goes away
Modified: pypy/trunk/pypy/interpreter/test/test_zpy.py
==============================================================================
--- pypy/trunk/pypy/interpreter/test/test_zpy.py (original)
+++ pypy/trunk/pypy/interpreter/test/test_zpy.py Fri Jan 23 20:43:52 2009
@@ -13,14 +13,6 @@
(sys.executable, pypypath) )
assert output.splitlines()[-1] == pypypath
-def test_prefix():
- """Make sure py.py sys.prefix and exec_prefix are the same as C Python's"""
- cmd = "import sys;print sys.prefix;print sys.exec_prefix"
- output = py.process.cmdexec( '''"%s" "%s" -c "%s" ''' %
- (sys.executable, pypypath, cmd) )
- assert output.splitlines()[-2] == sys.prefix
- assert output.splitlines()[-1] == sys.exec_prefix
-
def test_special_names():
"""Test the __name__ and __file__ special global names"""
cmd = "print __name__; print '__file__' in globals()"
More information about the Pypy-commit
mailing list