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

Method test_abc

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

Source from the content-addressed store, hash-verified

145 self.assertEqual(list(od.items()), [(c, 0) for c in 'abc'])
146
147 def test_abc(self):
148 OrderedDict = self.OrderedDict
149 self.assertIsInstance(OrderedDict(), MutableMapping)
150 self.assertIsSubclass(OrderedDict, MutableMapping)
151
152 def test_clear(self):
153 OrderedDict = self.OrderedDict

Callers

nothing calls this directly

Calls 3

assertIsInstanceMethod · 0.80
assertIsSubclassMethod · 0.80
OrderedDictClass · 0.70

Tested by

no test coverage detected