Kaydet (Commit) 630e5355 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Rename test for comparision errors.

üst 63251781
......@@ -181,7 +181,7 @@ class TestErrorHandling(unittest.TestCase):
for f in (bisect_left, bisect_right, insort_left, insort_right):
self.assertRaises(AttributeError, f, GetOnly(), 10)
def test_get_only(self):
def test_cmp_err(self):
seq = [CmpErr(), CmpErr(), CmpErr()]
for f in (bisect_left, bisect_right, insort_left, insort_right):
self.assertRaises(ZeroDivisionError, f, seq, 10)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment