mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Fix typo
This commit is contained in:
parent
0b57f0adde
commit
906d82db6d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue