Author: Ronan Lamy <[email protected]>
Branch: py3.5
Changeset: r93436:71a2dd4b2fa2
Date: 2017-12-16 04:38 +0000
http://bitbucket.org/pypy/pypy/changeset/71a2dd4b2fa2/
Log: fix AppTestWriteBytecode tests
diff --git a/pypy/module/imp/test/test_import.py
b/pypy/module/imp/test/test_import.py
--- a/pypy/module/imp/test/test_import.py
+++ b/pypy/module/imp/test/test_import.py
@@ -1210,12 +1210,12 @@
}
def setup_class(cls):
- cls.saved_modules = _setup(cls)
+ cls.w_saved_modules = _setup(cls)
sandbox = cls.spaceconfig['translation.sandbox']
cls.w_sandbox = cls.space.wrap(sandbox)
def teardown_class(cls):
- _teardown(cls.space, cls.saved_modules)
+ _teardown(cls.space, cls.w_saved_modules)
cls.space.appexec([], """
():
import sys
@@ -1245,6 +1245,7 @@
assert not os.path.exists(c.__cached__)
[email protected]('config.option.runappdirect')
class AppTestWriteBytecodeSandbox(AppTestWriteBytecode):
spaceconfig = {
"translation.sandbox": True
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit