]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40637: Don't test builtin PBKDF2 without builtin hashes (GH-20980)
authorChristian Heimes <christian@python.org>
Tue, 17 Nov 2020 14:40:35 +0000 (15:40 +0100)
committerGitHub <noreply@github.com>
Tue, 17 Nov 2020 14:40:35 +0000 (15:40 +0100)
commit975022b77b0024ea1548f19d5f91aba5ba1eed59
tree610d2a86ca96ab9cbeddcaeb465107ad16d82773
parent2ffba2a1027909e1dd697bf8ec2a03fba7618020
bpo-40637: Don't test builtin PBKDF2 without builtin hashes (GH-20980)

Skip testing of pure Python PBKDF2 when one or more builtin hash module
is not available. Otherwise the import of hashlib prints noise on
stderr.

Signed-off-by: Christian Heimes <christian@python.org>
Lib/test/test_hashlib.py