MCPcopy Index your code
hub / github.com/python/cpython / test_algorithms_guaranteed

Method test_algorithms_guaranteed

Lib/test/test_hashlib.py:227–230  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

225 c.hexdigest()
226
227 def test_algorithms_guaranteed(self):
228 self.assertEqual(hashlib.algorithms_guaranteed,
229 set(_algo for _algo in self.supported_hash_names
230 if _algo.islower()))
231
232 def test_algorithms_available(self):
233 self.assertTrue(set(hashlib.algorithms_guaranteed).

Callers

nothing calls this directly

Calls 3

setFunction · 0.85
islowerMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected