Author: Amaury Forgeot d'Arc <[email protected]>
Branch: py3k
Changeset: r57787:bd24b426f108
Date: 2012-10-04 22:08 +0200
http://bitbucket.org/pypy/pypy/changeset/bd24b426f108/

Log:    Fix implementation details in test_list.

diff --git a/lib-python/3.2/test/list_tests.py 
b/lib-python/3.2/test/list_tests.py
--- a/lib-python/3.2/test/list_tests.py
+++ b/lib-python/3.2/test/list_tests.py
@@ -48,7 +48,7 @@
         self.assertEqual(repr(a2), "[0, 1, 2, [...], 3]")
 
         l0 = []
-        for i in range(sys.getrecursionlimit() + 100):
+        for i in range(sys.getrecursionlimit() + 10000):
             l0 = [l0]
         self.assertRaises(RuntimeError, repr, l0)
 
@@ -482,7 +482,7 @@
         u += "eggs"
         self.assertEqual(u, self.type2test("spameggs"))
 
-        self.assertRaises(TypeError, u.__iadd__, None)
+        self.assertRaises(TypeError, "u += None")
 
     def test_imul(self):
         u = self.type2test([0, 1])
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to