[pypy-commit] pypy py3k: adapt to py3 which has an extra encoding step

pjenvey noreply at buildbot.pypy.org
Thu Mar 6 23:44:37 CET 2014


Author: Philip Jenvey <pjenvey at underboss.org>
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


More information about the pypy-commit mailing list