Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r63779:52baabd4e81f
Date: 2013-04-30 15:52 -0700
http://bitbucket.org/pypy/pypy/changeset/52baabd4e81f/

Log:    fix under appdirect

diff --git a/pypy/objspace/std/test/test_obj.py 
b/pypy/objspace/std/test/test_obj.py
--- a/pypy/objspace/std/test/test_obj.py
+++ b/pypy/objspace/std/test/test_obj.py
@@ -9,11 +9,8 @@
         from pypy.interpreter import gateway
         import sys
 
-        cpython_behavior = (not option.runappdirect
-                            or not hasattr(sys, 'pypy_translation_info'))
-
         space = cls.space
-        cls.w_cpython_behavior = space.wrap(cpython_behavior)
+        cls.w_cpython_behavior = space.wrap(not option.runappdirect)
         cls.w_cpython_version = space.wrap(tuple(sys.version_info))
         cls.w_appdirect = space.wrap(option.runappdirect)
         cls.w_cpython_apptest = space.wrap(option.runappdirect and not 
hasattr(sys, 'pypy_translation_info'))
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to