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

Method test_bools

Lib/test/test_numeric_tower.py:45–47  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

43 self.assertEqual(x, y)
44
45 def test_bools(self):
46 self.check_equal_hash(False, 0)
47 self.check_equal_hash(True, 1)
48
49 def test_integers(self):
50 # check that equal values hash equal

Callers

nothing calls this directly

Calls 1

check_equal_hashMethod · 0.95

Tested by

no test coverage detected