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

Method setUpClass

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

Source from the content-addressed store, hash-verified

78
79 @classmethod
80 def setUpClass(cls):
81 super().setUpClass()
82 cls.hmac = import_fresh_module('_hmac')
83
84
85# 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