Commits

Philip Jenvey committed 8010fe6

adapt to py3 which has an extra encoding step

Comments (0)

Files changed (1)

pypy/interpreter/test/test_zpy.py

             '\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