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

Method test_not_hashable

Lib/test/test_hash.py:145–147  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

143 self.assertIsInstance(obj, Hashable)
144
145 def test_not_hashable(self):
146 for obj in self.error_expected:
147 self.assertNotIsInstance(obj, Hashable)
148
149
150# Issue #4701: Check that some builtin types are correctly hashable

Callers

nothing calls this directly

Calls 1

assertNotIsInstanceMethod · 0.80

Tested by

no test coverage detected