(key, msg, digest)
| 959 | |
| 960 | @functools.wraps(wrapped := _hmac.compute_digest) |
| 961 | def _hmac_compute_digest(key, msg, digest): |
| 962 | if digest == blocked_name: |
| 963 | raise _hmac.UnknownHashError(blocked_name) |
| 964 | return wrapped(key, msg, digest) |
| 965 | |
| 966 | _ensure_wrapper_signature(_hmac_compute_digest, wrapped) |
| 967 | return unittest.mock.patch('_hmac.compute_digest', _hmac_compute_digest) |
nothing calls this directly
no test coverage detected
searching dependent graphs…