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

Method test_update

Lib/test/test_hmac.py:1166–1169  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1164 self.assertEqual(h1.hexdigest(), h2.hexdigest())
1165
1166 def test_update(self):
1167 key, msg = random.randbytes(16), random.randbytes(16)
1168 with self.subTest(key=key, msg=msg):
1169 self.check_update(key, [msg])
1170
1171 def test_update_large(self):
1172 gil_minsize = self.gil_minsize

Callers

nothing calls this directly

Calls 3

check_updateMethod · 0.95
randbytesMethod · 0.45
subTestMethod · 0.45

Tested by

no test coverage detected