Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r69765:8010fe669223
Date: 2014-03-06 14:42 -0800
http://bitbucket.org/pypy/pypy/changeset/8010fe669223/

Log:    adapt to py3 which has an extra encoding step

diff --git a/pypy/interpreter/test/test_zpy.py 
b/pypy/interpreter/test/test_zpy.py
--- a/pypy/interpreter/test/test_zpy.py
+++ b/pypy/interpreter/test/test_zpy.py
@@ -118,9 +118,9 @@
             '\t<module>:           LOAD_CONST    1 (None)\n'
             '\t<module>:           RETURN_VALUE    0 \n'
             '>>>> ') in output
+    # '5\n' --- this line sent to stderr
     assert ('\t<module>:           LOAD_NAME    0 (x)\n'
-            '\t<module>:           PRINT_EXPR    0 \n'
-            # '5\n' --- this line sent to stderr
-            '\t<module>:           LOAD_CONST    0 (None)\n'
+            '\t<module>:           PRINT_EXPR    0 \n') in output
+    assert ('\t<module>:           LOAD_CONST    0 (None)\n'
             '\t<module>:           RETURN_VALUE    0 \n'
             '>>>> ') in output
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to