Skip to content

Commit

Permalink
remove debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
gpshead committed Dec 2, 2024
1 parent 29a2012 commit e2bf70c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion Lib/test/test_hashlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ def test_algorithms_guaranteed(self):

@unittest.skipIf(get_fips_mode(), reason="guaranteed algorithms may not be available in FIPS mode")
def test_algorithms_available(self):
print(f"{get_fips_mode()=}")
self.assertTrue(set(hashlib.algorithms_guaranteed).
issubset(hashlib.algorithms_available),
msg=f"\n{sorted(hashlib.algorithms_guaranteed)=}\n{sorted(hashlib.algorithms_available)=}")
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
:mod:`hashlib` now avoids emitting a message to stderr when used in custom
build or system environment excluding any of our otherwise guaranteed
available hash functions.

0 comments on commit e2bf70c

Please sign in to comment.