mirror of https://github.com/python/cpython.git
Rename test for comparision errors.
This commit is contained in:
parent
63251781d1
commit
630e5355b5
|
@ -181,7 +181,7 @@ def test_get_only(self):
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue