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

Method test_values

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

Source from the content-addressed store, hash-verified

103 self.assertRaises(TypeError, d.keys, None)
104
105 def test_values(self):
106 d = self._empty_mapping()
107 self.assertEqual(list(d.values()), [])
108
109 self.assertRaises(TypeError, d.values, None)
110
111 def test_items(self):
112 d = self._empty_mapping()

Callers

nothing calls this directly

Calls 5

_empty_mappingMethod · 0.95
listClass · 0.85
assertEqualMethod · 0.45
valuesMethod · 0.45
assertRaisesMethod · 0.45

Tested by

no test coverage detected