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

Method test_values

Lib/test/mapping_tests.py:335–338  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

333 self.assertNotIn('c', k)
334
335 def test_values(self):
336 BasicTestMappingProtocol.test_values(self)
337 d = self._full_mapping({1:2})
338 self.assertEqual(list(d.values()), [2])
339
340 def test_items(self):
341 BasicTestMappingProtocol.test_items(self)

Callers

nothing calls this directly

Calls 4

listClass · 0.85
_full_mappingMethod · 0.45
assertEqualMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected