This commit is contained in:
Raymond Hettinger 2016-01-25 23:00:21 -08:00
parent 0b57f0adde
commit 906d82db6d
1 changed files with 1 additions and 1 deletions

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