MCPcopy Index your code
hub / github.com/RustPython/RustPython / setUpClass

Method setUpClass

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

Source from the content-addressed store, hash-verified

79
80 @classmethod
81 def setUpClass(cls):
82 super().setUpClass()
83 cls.hmac = import_fresh_module('_hmac')
84
85
86# Sentinel object used to detect whether a digestmod is given or not.

Callers

nothing calls this directly

Calls 3

import_fresh_moduleFunction · 0.90
superClass · 0.85
setUpClassMethod · 0.45

Tested by

no test coverage detected