[pypy-commit] pypy py3k: fix syntax
antocuni
noreply at buildbot.pypy.org
Mon Feb 20 20:43:35 CET 2012
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r52685:df10a2837781
Date: 2012-02-20 20:40 +0100
http://bitbucket.org/pypy/pypy/changeset/df10a2837781/
Log: fix syntax
diff --git a/pypy/interpreter/test/test_gateway.py b/pypy/interpreter/test/test_gateway.py
--- a/pypy/interpreter/test/test_gateway.py
+++ b/pypy/interpreter/test/test_gateway.py
@@ -690,11 +690,11 @@
class A(object):
m = g # not a builtin function, so works as method
d = {'A': A}
- exec \"\"\"
+ exec(\"\"\"
# own compiler
a = A()
y = a.m(33)
-\"\"\" in d
+\"\"\", d)
return d['y'] == ('g', d['a'], 33)
""")
assert space.is_true(w_res)
More information about the pypy-commit
mailing list