Author: Manuel Jacob <[email protected]>
Branch: py3k
Changeset: r77780:94efbc9c28df
Date: 2015-06-02 18:06 +0200
http://bitbucket.org/pypy/pypy/changeset/94efbc9c28df/
Log: 2to3
diff --git a/pypy/module/__pypy__/test/test_magic.py
b/pypy/module/__pypy__/test/test_magic.py
--- a/pypy/module/__pypy__/test/test_magic.py
+++ b/pypy/module/__pypy__/test/test_magic.py
@@ -3,12 +3,12 @@
spaceconfig = dict(usemodules=['__pypy__'])
def test_save_module_content_for_future_reload(self):
- import sys, __pypy__
+ import sys, __pypy__, imp
d = sys.dont_write_bytecode
sys.dont_write_bytecode = "hello world"
__pypy__.save_module_content_for_future_reload(sys)
sys.dont_write_bytecode = d
- reload(sys)
+ imp.reload(sys)
assert sys.dont_write_bytecode == "hello world"
#
sys.dont_write_bytecode = d
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit