Author: Ronan Lamy <[email protected]>
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():
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to