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

Method test_update_large

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

Source from the content-addressed store, hash-verified

1215 self.check_update(key, [msg])
1216
1217 def test_update_large(self):
1218 gil_minsize = self.gil_minsize
1219 key = random.randbytes(16)
1220 top = random.randbytes(gil_minsize + 1)
1221 bot = random.randbytes(gil_minsize + 1)
1222 self.check_update(key, [top, bot])
1223
1224 def test_update_exceptions(self):
1225 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