[pypy-commit] pypy py3.6: fix tests to pass on CPython
rlamy
pypy.commits at gmail.com
Fri Nov 8 22:06:03 EST 2019
Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: py3.6
Changeset: r98002:cfec65b692b9
Date: 2019-11-09 03:05 +0000
http://bitbucket.org/pypy/pypy/changeset/cfec65b692b9/
Log: fix tests to pass on CPython
diff --git a/pypy/interpreter/test/apptest_exec.py b/pypy/interpreter/test/apptest_exec.py
--- a/pypy/interpreter/test/apptest_exec.py
+++ b/pypy/interpreter/test/apptest_exec.py
@@ -38,7 +38,7 @@
def test_implicit():
a = 4
exec("a = 3")
- assert a == 3
+ assert a == 4
def test_tuplelocals():
g = {}
@@ -79,7 +79,7 @@
exec('a=3')
return a
x = f(4)\n""")
- assert eval("x") == 3
+ assert eval("x") == 4
def test_nested_names_are_not_confused():
def get_nested_class():
More information about the pypy-commit
mailing list