We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c1de38 commit dc7c6c6Copy full SHA for dc7c6c6
Lib/test/test_hashlib.py
@@ -242,7 +242,11 @@ def test_algorithms_available(self):
242
except ValueError as verr:
243
# builtins may be absent if python built with
244
# a subset of --with-builtin-hashlib-hashes or none.
245
- self.skipTest(verr)
+ if ("blake2" in name and
246
+ "blake2" not in sysconfig.get_config_var("PY_BUILTIN_HASHLIB_HASHES").split(",")):
247
+ self.skipTest(verr)
248
+ else:
249
+ raise
250
251
def test_usedforsecurity_true(self):
252
hashlib.new("sha256", usedforsecurity=True)
0 commit comments