Skip to content

Commit 4dfca50

Browse files
authored
fix name error
1 parent 548c2f3 commit 4dfca50

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/test/support/hashlib_helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,12 +217,12 @@ def _openssl_new(digestname, /, **kwargs):
217217
# re-import '_hashlib' in case it was mocked
218218
_hashlib = importlib.import_module("_hashlib")
219219
except ImportError as exc:
220-
raise SkipNoHash(fullname, "openssl") from exc
220+
raise SkipNoHash(digestname, "openssl") from exc
221221
constructor = partial(_hashlib.new, digestname, **kwargs)
222222
try:
223223
constructor()
224224
except ValueError as exc:
225-
raise SkipNoHash(fullname, "_hashlib.new") from exc
225+
raise SkipNoHash(digestname, "_hashlib.new") from exc
226226
return constructor
227227

228228

0 commit comments

Comments
 (0)