]> granicus.if.org Git - python/commitdiff
Fix typo
authorRaymond Hettinger <python@rcn.com>
Tue, 26 Jan 2016 07:00:21 +0000 (23:00 -0800)
committerRaymond Hettinger <python@rcn.com>
Tue, 26 Jan 2016 07:00:21 +0000 (23:00 -0800)
Lib/test/test_deque.py

index c61e80bc2e45db17d389f2ba80aeac141d766970..f75b3ffc5c344174d77ca8c8e7b0f7e099560b47 100644 (file)
@@ -289,7 +289,7 @@ class TestBasic(unittest.TestCase):
                     else:
                         self.assertEqual(d.index(element, start, stop), target)
 
-    def test_insert_bug_24913(self):
+    def test_index_bug_24913(self):
         d = deque('A' * 3)
         with self.assertRaises(ValueError):
             i = d.index("Hello world", 0, 4)