[pypy-commit] pypy py3k: 2to3
mjacob
noreply at buildbot.pypy.org
Tue Jun 2 19:08:49 CEST 2015
Author: Manuel Jacob <me at manueljacob.de>
Branch: py3k
Changeset: r77784:56eddd4b5785
Date: 2015-06-02 19:03 +0200
http://bitbucket.org/pypy/pypy/changeset/56eddd4b5785/
Log: 2to3
diff --git a/pypy/module/_cffi_backend/test/test_recompiler.py b/pypy/module/_cffi_backend/test/test_recompiler.py
--- a/pypy/module/_cffi_backend/test/test_recompiler.py
+++ b/pypy/module/_cffi_backend/test/test_recompiler.py
@@ -100,7 +100,7 @@
del self.space._cleanup_ffi
self.space.appexec([self._w_modules], """(old_modules):
import sys
- for key in sys.modules.keys():
+ for key in list(sys.modules.keys()):
if key not in old_modules:
del sys.modules[key]
""")
More information about the pypy-commit
mailing list