Author: Ronan Lamy <[email protected]>
Branch: py3.6
Changeset: r97251:5aa182e30c62
Date: 2019-08-23 18:32 +0100
http://bitbucket.org/pypy/pypy/changeset/5aa182e30c62/

Log:    fix test for minor implementation difference

diff --git a/lib-python/3/test/list_tests.py b/lib-python/3/test/list_tests.py
--- a/lib-python/3/test/list_tests.py
+++ b/lib-python/3/test/list_tests.py
@@ -546,7 +546,7 @@
         u += "eggs"
         self.assertEqual(u, self.type2test("spameggs"))
 
-        self.assertRaises(TypeError, u.__iadd__, None)
+        self.assertRaises(TypeError, "u += None")  # PyPy change
 
     def test_imul(self):
         u = self.type2test([0, 1])
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to