MCPcopy Create free account
hub / github.com/RustPython/RustPython / setUpClass

Method setUpClass

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

Source from the content-addressed store, hash-verified

1610
1611 @classmethod
1612 def setUpClass(cls):
1613 super().setUpClass()
1614 cls.blake2 = import_helper.import_module("_blake2")
1615 cls.blake2b = cls.blake2.blake2b
1616 cls.blake2s = cls.blake2.blake2s
1617
1618 def assert_hmac_blake_correctness(self, digest, key, msg, hashfunc):
1619 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