We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ace9af commit 1dda3b6Copy full SHA for 1dda3b6
1 file changed
Lib/test/test_hashlib.py
@@ -274,9 +274,9 @@ def test_clinic_signature(self):
274
with self.assertWarnsRegex(DeprecationWarning,
275
DEPRECATED_STRING_PARAMETER):
276
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
+ # Make sure that _hashlib contains the constructor
+ # to test when using a combination of libcrypto and
+ # interned hash implementations.
280
if self._hashlib and digest_name in self._hashlib._constructors:
281
self._hashlib.new(digest_name, b'')
282
self._hashlib.new(digest_name, data=b'')
0 commit comments