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

Method test_blake2b_vectors

Lib/test/test_hashlib.py:879–882  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

877 @unittest.expectedFailure # TODO: RUSTPYTHON; blake2 key parameter not supported
878 @requires_blake2
879 def test_blake2b_vectors(self):
880 for msg, key, md in read_vectors('blake2b'):
881 key = bytes.fromhex(key)
882 self.check('blake2b', msg, md, key=key)
883
884 @unittest.expectedFailure # TODO: RUSTPYTHON; add to constructor const value
885 @requires_blake2

Callers

nothing calls this directly

Calls 3

checkMethod · 0.95
read_vectorsFunction · 0.85
fromhexMethod · 0.45

Tested by

no test coverage detected