[pypy-commit] pypy py3k: fix under appdirect
pjenvey
noreply at buildbot.pypy.org
Wed May 1 00:52:48 CEST 2013
Author: Philip Jenvey <pjenvey at underboss.org>
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'))
More information about the pypy-commit
mailing list