[pypy-svn] r74668 - pypy/branch/py131/pypy/interpreter/test
hpk at codespeak.net
hpk at codespeak.net
Sat May 22 11:00:41 CEST 2010
Author: hpk
Date: Sat May 22 11:00:40 2010
New Revision: 74668
Modified:
pypy/branch/py131/pypy/interpreter/test/test_code.py
Log:
fix and unify testing for appdirect/cpython-pypy
Modified: pypy/branch/py131/pypy/interpreter/test/test_code.py
==============================================================================
--- pypy/branch/py131/pypy/interpreter/test/test_code.py (original)
+++ pypy/branch/py131/pypy/interpreter/test/test_code.py Sat May 22 11:00:40 2010
@@ -6,11 +6,7 @@
def setup_class(cls):
space = gettestobjspace()
cls.space = space
- if py.test.config.option.runappdirect:
- filename = __file__
- else:
- filename = gateway.__file__
-
+ filename = __file__
if filename[-3:] != '.py':
filename = filename[:-1]
More information about the Pypy-commit
mailing list