]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40637: Don't test builtin PBKDF2 without builtin hashes (GH-20980)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 17 Nov 2020 15:01:55 +0000 (07:01 -0800)
committerGitHub <noreply@github.com>
Tue, 17 Nov 2020 15:01:55 +0000 (07:01 -0800)
commit656d50f98d9aec5e5283f77adc38e91813273662
tree11f53f18a8ee9605957b867c7b63f4eda9d11592
parent2c38e49dba88a39679b2182ca3f5f478d3a3f647
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>
(cherry picked from commit 975022b77b0024ea1548f19d5f91aba5ba1eed59)

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