MCPcopy
hub / github.com/urllib3/urllib3 / setup_class

Method setup_class

test/test_no_ssl.py:21–26  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

19class TestWithoutSSL:
20 @classmethod
21 def setup_class(cls) -> None:
22 sys.modules.pop("ssl", None)
23 sys.modules.pop("_ssl", None)
24
25 module_stash.stash()
26 sys.meta_path.insert(0, ssl_blocker)
27
28 @classmethod
29 def teardown_class(cls) -> None:

Callers 1

supported_tls_versionsFunction · 0.45

Calls 2

popMethod · 0.80
stashMethod · 0.80

Tested by

no test coverage detected