]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40637: Do not emit warnings for disabled builtin hashes (GH-20937)
authorstratakis <cstratak@redhat.com>
Wed, 17 Jun 2020 17:26:08 +0000 (19:26 +0200)
committerGitHub <noreply@github.com>
Wed, 17 Jun 2020 17:26:08 +0000 (10:26 -0700)
commit236a0f5cf022b59dbb6ea17a8e7a677c573d39b9
tree083a43ca43d9e464eeb61e470cd15b93998a9678
parent98ce7b107e6611d04dc35a4f5b02ea215ef122cf
bpo-40637: Do not emit warnings for disabled builtin hashes (GH-20937)

test_hashlib emits some warnings when it cannot find some hashes
as it assumes they failed to compile. Since we can disable hashes
through configure, we emit the warnings only in the case that we
did not intentionaly disable them.

Automerge-Triggered-By: @tiran
Lib/test/test_hashlib.py