diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-07-03 05:10:11 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-07-03 05:10:11 (GMT) |
commit | bb215e23004af8e8105fae4e132a63b0c25ea47c (patch) | |
tree | 1e0023f5f39b23e58178ffeb992ac5e2264ff1e9 /Lib/test/list_tests.py | |
parent | 1c5e5a89b4bc1a7b9dbd0375fbd76dfdadcb8605 (diff) | |
parent | f488fb422a641aa7c38eb63c09f459e4baff7bc4 (diff) | |
download | cpython-bb215e23004af8e8105fae4e132a63b0c25ea47c.zip cpython-bb215e23004af8e8105fae4e132a63b0c25ea47c.tar.gz cpython-bb215e23004af8e8105fae4e132a63b0c25ea47c.tar.bz2 |
Merge 3.5 (Issue #19235)
Diffstat (limited to 'Lib/test/list_tests.py')
-rw-r--r-- | Lib/test/list_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/list_tests.py b/Lib/test/list_tests.py index 9069337..1adfc75 100644 --- a/Lib/test/list_tests.py +++ b/Lib/test/list_tests.py @@ -56,7 +56,7 @@ class CommonTest(seq_tests.CommonTest): l0 = [] for i in range(sys.getrecursionlimit() + 100): l0 = [l0] - self.assertRaises(RuntimeError, repr, l0) + self.assertRaises(RecursionError, repr, l0) def test_print(self): d = self.type2test(range(200)) |