From: Raymond Hettinger Date: Mon, 27 Sep 2004 23:11:35 +0000 (+0000) Subject: Rename test for comparision errors. X-Git-Tag: v2.4b1~158 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=630e5355b5cf25cc5a3b1a939d409fddfef59c8a;p=python Rename test for comparision errors. --- diff --git a/Lib/test/test_bisect.py b/Lib/test/test_bisect.py index 0cda1d8f4a..87448b3d50 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)