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

Method skip_if_blake2_not_builtin

Lib/test/test_hashlib.py:810–814  ·  view source on GitHub ↗
(self, name, skip_reason)

Source from the content-addressed store, hash-verified

808 "de0ff244877ea60a4cb0432ce577c31beb009c5c2c49aa2e4eadb217ad8cc09b")
809
810 def skip_if_blake2_not_builtin(self, name, skip_reason):
811 # blake2 builtins may be absent if python built with
812 # a subset of --with-builtin-hashlib-hashes or none.
813 if "blake2" in name and "blake2" not in builtin_hashes:
814 self.skipTest(skip_reason)
815
816 def check_blake2(self, constructor, salt_size, person_size, key_size,
817 digest_size, max_offset):

Callers 2

Calls 1

skipTestMethod · 0.80

Tested by

no test coverage detected