Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ setUpClass
Method
setUpClass
Lib/test/test_hmac.py:71–73 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
69
70
@classmethod
71
def
setUpClass(cls):
72
super().setUpClass()
73
cls.hmac = import_fresh_module(
'hmac'
, blocked=[
'_hashlib'
,
'_hmac'
])
74
75
76
@hashlib_helper.requires_builtin_hmac()
Callers
6
setUpClass
Method · 0.45
setUpClass
Method · 0.45
setUpClass
Method · 0.45
setUpClass
Method · 0.45
setUpClass
Method · 0.45
setUpClass
Method · 0.45
Calls
2
import_fresh_module
Function · 0.90
super
Class · 0.85
Tested by
no test coverage detected