[pypy-commit] pypy default: Make self.runappdirect accessible on py3k -A

rlamy pypy.commits at gmail.com
Tue Oct 4 12:58:28 EDT 2016


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: 
Changeset: r87571:fb77bbdc495c
Date: 2016-10-04 17:56 +0100
http://bitbucket.org/pypy/pypy/changeset/fb77bbdc495c/

Log:	Make self.runappdirect accessible on py3k -A

diff --git a/pypy/module/cpyext/test/test_cpyext.py b/pypy/module/cpyext/test/test_cpyext.py
--- a/pypy/module/cpyext/test/test_cpyext.py
+++ b/pypy/module/cpyext/test/test_cpyext.py
@@ -220,9 +220,9 @@
         space = cls.space
         cls.w_here = space.wrap(str(HERE))
         cls.w_udir = space.wrap(str(udir))
+        cls.w_runappdirect = space.wrap(cls.runappdirect)
         if not cls.runappdirect:
             cls.sys_info = get_cpyext_info(space)
-            cls.w_runappdirect = space.wrap(cls.runappdirect)
             space.getbuiltinmodule("cpyext")
             # 'import os' to warm up reference counts
             w_import = space.builtin.getdictvalue(space, '__import__')


More information about the pypy-commit mailing list