Fix typo
This commit is contained in:
parent
0b57f0adde
commit
906d82db6d
|
@ -289,7 +289,7 @@ class TestBasic(unittest.TestCase):
|
||||||
else:
|
else:
|
||||||
self.assertEqual(d.index(element, start, stop), target)
|
self.assertEqual(d.index(element, start, stop), target)
|
||||||
|
|
||||||
def test_insert_bug_24913(self):
|
def test_index_bug_24913(self):
|
||||||
d = deque('A' * 3)
|
d = deque('A' * 3)
|
||||||
with self.assertRaises(ValueError):
|
with self.assertRaises(ValueError):
|
||||||
i = d.index("Hello world", 0, 4)
|
i = d.index("Hello world", 0, 4)
|
||||||
|
|
Loading…
Reference in New Issue