mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Rename test for comparision errors.
This commit is contained in:
parent
63251781d1
commit
630e5355b5
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue