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

Method test_non_bytes_key

Lib/test/test_pyrepl/test_keymap.py:118–120  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

116 compile_keymap(km)
117
118 def test_non_bytes_key(self):
119 with self.assertRaises(TypeError):
120 compile_keymap({123: 'a'})

Callers

nothing calls this directly

Calls 2

compile_keymapFunction · 0.90
assertRaisesMethod · 0.45

Tested by

no test coverage detected