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

Method test_keys_contained

Lib/test/test_dict.py:707–709  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

705 d1 == d2
706
707 def test_keys_contained(self):
708 self.helper_keys_contained(lambda x: x.keys())
709 self.helper_keys_contained(lambda x: x.items())
710
711 def helper_keys_contained(self, fn):
712 # Test rich comparisons against dict key views, which should behave the

Callers

nothing calls this directly

Calls 3

helper_keys_containedMethod · 0.95
keysMethod · 0.45
itemsMethod · 0.45

Tested by

no test coverage detected