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

Method setUpClass

Lib/test/test_hmac.py:1566–1570  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

1564
1565 @classmethod
1566 def setUpClass(cls):
1567 super().setUpClass()
1568 cls.blake2 = import_helper.import_module("_blake2")
1569 cls.blake2b = cls.blake2.blake2b
1570 cls.blake2s = cls.blake2.blake2s
1571
1572 def assert_hmac_blake_correctness(self, digest, key, msg, hashfunc):
1573 self.assertIsInstance(digest, bytes)

Callers

nothing calls this directly

Calls 3

superClass · 0.85
setUpClassMethod · 0.45
import_moduleMethod · 0.45

Tested by

no test coverage detected