Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r63868:c334eced9ccb
Date: 2013-05-05 13:29 -0700
http://bitbucket.org/pypy/pypy/changeset/c334eced9ccb/
Log: fix
diff --git a/pypy/conftest.py b/pypy/conftest.py
--- a/pypy/conftest.py
+++ b/pypy/conftest.py
@@ -181,7 +181,9 @@
user_del_action = None
if isinstance(item, py.test.collect.Function):
appclass = item.getparent(PyPyClassCollector)
- if appclass is not None and not appclass.obj.runappdirect:
+ if (appclass is not None and
+ not getattr(appclass.obj, 'runappdirect', False) and
+ hasattr(appclass.obj, 'space')):
user_del_action = appclass.obj.space.user_del_action
if user_del_action:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit