Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r58690:92468e4898ab
Date: 2012-11-02 19:05 +0100
http://bitbucket.org/pypy/pypy/changeset/92468e4898ab/
Log: py3k-ify syntax
diff --git a/pypy/objspace/std/test/test_typeobject.py
b/pypy/objspace/std/test/test_typeobject.py
--- a/pypy/objspace/std/test/test_typeobject.py
+++ b/pypy/objspace/std/test/test_typeobject.py
@@ -1043,7 +1043,7 @@
def test_module_from_handbuilt_type(self):
d = {'tuple': tuple, '__name__': 'foomod'}
- exec """class foo(tuple): pass""" in d
+ exec("""class foo(tuple): pass""", d)
t = d['foo']
t.__module__ = 'barmod'
# this last line used to crash; see ab926f846f39
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit