diff options
author | Raymond Hettinger <python@rcn.com> | 2004-09-27 23:11:35 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-09-27 23:11:35 (GMT) |
commit | 630e5355b5cf25cc5a3b1a939d409fddfef59c8a (patch) | |
tree | 81fb8d814ae7b134a418f14391cdff5f4e384869 /Lib/test/test_bisect.py | |
parent | 63251781d12e9adca741fc9296171b8f480be20e (diff) | |
download | cpython-630e5355b5cf25cc5a3b1a939d409fddfef59c8a.zip cpython-630e5355b5cf25cc5a3b1a939d409fddfef59c8a.tar.gz cpython-630e5355b5cf25cc5a3b1a939d409fddfef59c8a.tar.bz2 |
Rename test for comparision errors.
Diffstat (limited to 'Lib/test/test_bisect.py')
-rw-r--r-- | Lib/test/test_bisect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_bisect.py b/Lib/test/test_bisect.py index 0cda1d8..87448b3 100644 --- a/Lib/test/test_bisect.py +++ b/Lib/test/test_bisect.py @@ -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) |