Rename test for comparision errors.

This commit is contained in:
Raymond Hettinger 2004-09-27 23:11:35 +00:00
parent 63251781d1
commit 630e5355b5
1 changed files with 1 additions and 1 deletions

View File

@ -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)