summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-09-27 23:11:35 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-09-27 23:11:35 (GMT)
commit630e5355b5cf25cc5a3b1a939d409fddfef59c8a (patch)
tree81fb8d814ae7b134a418f14391cdff5f4e384869 /Lib
parent63251781d12e9adca741fc9296171b8f480be20e (diff)
downloadcpython-630e5355b5cf25cc5a3b1a939d409fddfef59c8a.zip
cpython-630e5355b5cf25cc5a3b1a939d409fddfef59c8a.tar.gz
cpython-630e5355b5cf25cc5a3b1a939d409fddfef59c8a.tar.bz2
Rename test for comparision errors.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_bisect.py2
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)