MCPcopy Create free account
hub / github.com/python/cpython / test_dict_update

Method test_dict_update

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

Source from the content-addressed store, hash-verified

664 self.assertNotIn('NULL', repr(od))
665
666 def test_dict_update(self):
667 OrderedDict = self.OrderedDict
668 od = OrderedDict()
669 dict.update(od, [('spam', 1)])
670 self.assertNotIn('NULL', repr(od))
671
672 def test_reference_loop(self):
673 # Issue 25935

Callers

nothing calls this directly

Calls 3

assertNotInMethod · 0.80
OrderedDictClass · 0.70
updateMethod · 0.45

Tested by

no test coverage detected