summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_class.py
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-07-03 05:10:11 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-07-03 05:10:11 (GMT)
commitbb215e23004af8e8105fae4e132a63b0c25ea47c (patch)
tree1e0023f5f39b23e58178ffeb992ac5e2264ff1e9 /Lib/test/test_class.py
parent1c5e5a89b4bc1a7b9dbd0375fbd76dfdadcb8605 (diff)
parentf488fb422a641aa7c38eb63c09f459e4baff7bc4 (diff)
downloadcpython-bb215e23004af8e8105fae4e132a63b0c25ea47c.zip
cpython-bb215e23004af8e8105fae4e132a63b0c25ea47c.tar.gz
cpython-bb215e23004af8e8105fae4e132a63b0c25ea47c.tar.bz2
Merge 3.5 (Issue #19235)
Diffstat (limited to 'Lib/test/test_class.py')
-rw-r--r--Lib/test/test_class.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_class.py b/Lib/test/test_class.py
index 6036e36..4d554a3 100644
--- a/Lib/test/test_class.py
+++ b/Lib/test/test_class.py
@@ -500,10 +500,10 @@ class ClassTests(unittest.TestCase):
try:
a() # This should not segfault
- except RuntimeError:
+ except RecursionError:
pass
else:
- self.fail("Failed to raise RuntimeError")
+ self.fail("Failed to raise RecursionError")
def testForExceptionsRaisedInInstanceGetattr2(self):
# Tests for exceptions raised in instance_getattr2().