Author: Ronan Lamy <[email protected]>
Branch: py3.5
Changeset: r93419:7b810b0bf663
Date: 2017-12-14 02:47 +0000
http://bitbucket.org/pypy/pypy/changeset/7b810b0bf663/

Log:    Adapt test_particularly_evil_undecodable to pypy

diff --git a/lib-python/3/test/test_compile.py 
b/lib-python/3/test/test_compile.py
--- a/lib-python/3/test/test_compile.py
+++ b/lib-python/3/test/test_compile.py
@@ -524,7 +524,8 @@
             with open(fn, "wb") as fp:
                 fp.write(src)
             res = script_helper.run_python_until_end(fn)[0]
-        self.assertIn(b"Non-UTF-8", res.err)
+        # PyPy change: we have a different error here
+        self.assertIn(b"SyntaxError", res.err)
 
     def test_yet_more_evil_still_undecodable(self):
         # Issue #25388
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to