Author: Ronan Lamy <[email protected]>
Branch: py3k
Changeset: r87573:a083c2d04d8b
Date: 2016-10-04 17:56 +0100
http://bitbucket.org/pypy/pypy/changeset/a083c2d04d8b/

Log:    Make self.runappdirect accessible on py3k -A (grafted from
        fb77bbdc495c586c2a1e08b1c2e6ab12ba11164a)

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
@@ -222,9 +222,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__')
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to