MCPcopy Create free account
hub / github.com/python/cpython / compare_digest

Method compare_digest

Lib/test/test_hmac.py:1323–1325  ·  view source on GitHub ↗

Implementation of 'a == b' to test.

(a, b)

Source from the content-addressed store, hash-verified

1321
1322 @staticmethod
1323 def compare_digest(a, b):
1324 """Implementation of 'a == b' to test."""
1325 raise NotImplementedError
1326
1327 def assert_digest_equal(self, a, b):
1328 with self.subTest(a=a, b=b):

Callers 6

assert_digest_equalMethod · 0.95
test_equalMethod · 0.80
test_unequalMethod · 0.80
test_boolMethod · 0.80
_verify_challengeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected