MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_ucs2_string

Method test_ucs2_string

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

Source from the content-addressed store, hash-verified

308 @unittest.expectedFailure
309 @skip_unless_internalhash
310 def test_ucs2_string(self):
311 h = self.get_expected_hash(3, 6)
312 self.assertEqual(self.get_hash(self.repr_ucs2, seed=0), h)
313 h = self.get_expected_hash(4, 6)
314 self.assertEqual(self.get_hash(self.repr_ucs2, seed=42), h)
315
316class BytesHashRandomizationTests(StringlikeHashRandomizationTests,
317 unittest.TestCase):

Callers

nothing calls this directly

Calls 3

get_expected_hashMethod · 0.80
get_hashMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected