Skip to content

Commit 1dda3b6

Browse files
Update Lib/test/test_hashlib.py
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent 9ace9af commit 1dda3b6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Lib/test/test_hashlib.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,9 @@ def test_clinic_signature(self):
274274
with self.assertWarnsRegex(DeprecationWarning,
275275
DEPRECATED_STRING_PARAMETER):
276276
hashlib.new(digest_name, string=b'')
277-
# when using a combination of libcrypto and interned hash
278-
# implementations, we need to make sure that _hashlib contains
279-
# the constructor we're testing
277+
# Make sure that _hashlib contains the constructor
278+
# to test when using a combination of libcrypto and
279+
# interned hash implementations.
280280
if self._hashlib and digest_name in self._hashlib._constructors:
281281
self._hashlib.new(digest_name, b'')
282282
self._hashlib.new(digest_name, data=b'')

0 commit comments

Comments
 (0)