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

Method test_update_large

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

Source from the content-addressed store, hash-verified

1169 self.check_update(key, [msg])
1170
1171 def test_update_large(self):
1172 gil_minsize = self.gil_minsize
1173 key = random.randbytes(16)
1174 top = random.randbytes(gil_minsize + 1)
1175 bot = random.randbytes(gil_minsize + 1)
1176 self.check_update(key, [top, bot])
1177
1178 def test_update_exceptions(self):
1179 h = self.HMAC(b"key")

Callers

nothing calls this directly

Calls 2

check_updateMethod · 0.95
randbytesMethod · 0.45

Tested by

no test coverage detected