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

Method test_bool

Lib/test/test_collections.py:169–173  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

167 self.assertEqual(ChainMap({1:2}).maps, [{1:2}]) # 1 arg --> list
168
169 def test_bool(self):
170 self.assertFalse(ChainMap())
171 self.assertFalse(ChainMap({}, {}))
172 self.assertTrue(ChainMap({1:2}, {}))
173 self.assertTrue(ChainMap({}, {1:2}))
174
175 def test_missing(self):
176 class DefaultChainMap(ChainMap):

Callers

nothing calls this directly

Calls 3

ChainMapClass · 0.90
assertFalseMethod · 0.80
assertTrueMethod · 0.80

Tested by

no test coverage detected