[pypy-svn] r28948 - pypy/dist/pypy/interpreter/test
hpk at codespeak.net
hpk at codespeak.net
Mon Jun 19 14:40:28 CEST 2006
Author: hpk
Date: Mon Jun 19 14:40:27 2006
New Revision: 28948
Modified:
pypy/dist/pypy/interpreter/test/test_module.py
Log:
skip sys.__file__ test for cpython
Modified: pypy/dist/pypy/interpreter/test/test_module.py
==============================================================================
--- pypy/dist/pypy/interpreter/test/test_module.py (original)
+++ pypy/dist/pypy/interpreter/test/test_module.py Mon Jun 19 14:40:27 2006
@@ -49,6 +49,8 @@
def test___file__(self):
import sys, os
+ if not hasattr(sys, "pypy_objspaceclass"):
+ skip("need PyPy for sys.__file__ checking")
assert sys.__file__
assert os.path.basename(sys.__file__).startswith('*.py')
More information about the Pypy-commit
mailing list