MCPcopy Index your code
hub / github.com/python/cpython / test_index_bug_24913

Method test_index_bug_24913

Lib/test/test_deque.py:298–301  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

296 d.rotate()
297
298 def test_index_bug_24913(self):
299 d = deque('A' * 3)
300 with self.assertRaises(ValueError):
301 i = d.index("Hello world", 0, 4)
302
303 def test_insert(self):
304 # Test to make sure insert behaves like lists

Callers

nothing calls this directly

Calls 2

assertRaisesMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected