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

Class G

Lib/test/test_dict.py:865–866  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

863 self.assertEqual(c.exception.args, (42,))
864
865 class G(dict):
866 pass
867 g = G()
868 with self.assertRaises(KeyError) as c:
869 g[42]

Callers 1

test_missingMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_missingMethod · 0.56