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

Method test_issue24348

Lib/test/test_ordered_dict.py:582–592  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

580 od.copy()
581
582 def test_issue24348(self):
583 OrderedDict = self.OrderedDict
584
585 class Key:
586 def __hash__(self):
587 return 1
588
589 od = OrderedDict()
590 od[Key()] = 0
591 # This should not crash.
592 od.popitem()
593
594 def test_issue24667(self):
595 """

Callers

nothing calls this directly

Calls 3

popitemMethod · 0.95
OrderedDictClass · 0.70
KeyClass · 0.70

Tested by

no test coverage detected