[pypy-svn] r74212 - pypy/branch/cpython-extension/pypy

fijal at codespeak.net fijal at codespeak.net
Thu Apr 29 05:43:20 CEST 2010


Author: fijal
Date: Thu Apr 29 05:43:19 2010
New Revision: 74212

Modified:
   pypy/branch/cpython-extension/pypy/conftest.py
Log:
I don't really want to care. Allow this to work if there is no py.test around


Modified: pypy/branch/cpython-extension/pypy/conftest.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/conftest.py	(original)
+++ pypy/branch/cpython-extension/pypy/conftest.py	Thu Apr 29 05:43:19 2010
@@ -61,7 +61,7 @@
     try:
         return _SPACECACHE[key]
     except KeyError:
-        if option.runappdirect:
+        if getattr(option, 'runappdirect', None):
             if name not in (None, 'std'):
                 myname = getattr(sys, 'pypy_objspaceclass', '')
                 if not myname.lower().startswith(name):



More information about the Pypy-commit mailing list