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

Method test_long_fixed_hash

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

Source from the content-addressed store, hash-verified

282
283 @skip_unless_internalhash
284 def test_long_fixed_hash(self):
285 if self.repr_long is None:
286 return
287 h = self.get_expected_hash(2, 11)
288 self.assertEqual(self.get_hash(self.repr_long, seed=42), h)
289
290
291class StrHashRandomizationTests(StringlikeHashRandomizationTests,

Callers

nothing calls this directly

Calls 3

get_expected_hashMethod · 0.95
get_hashMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected