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

Method tearDownClass

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

Source from the content-addressed store, hash-verified

733
734 @classmethod
735 def tearDownClass(cls):
736 cls.hmac.HMAC._init_openssl_hmac.assert_not_called()
737 cls.hmac.HMAC._init_builtin_hmac.assert_not_called()
738 # Do not assert that HMAC._init_old() has been called as it's tricky
739 # to determine whether a test for a specific hash function has been
740 # executed or not. On regular builds, it will be called but if a
741 # hash function is not available, it's hard to detect for which
742 # test we should checj HMAC._init_old() or not.
743 super().tearDownClass()
744
745
746class PyRFCOpenSSLTestCase(ThroughObjectMixin,

Callers

nothing calls this directly

Calls 2

superClass · 0.85
assert_not_calledMethod · 0.80

Tested by

no test coverage detected