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

Method setup_class

test/test_util.py:1095–1099  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

1093class TestUtilWithoutIdna:
1094 @classmethod
1095 def setup_class(cls) -> None:
1096 sys.modules.pop("idna", None)
1097
1098 module_stash.stash()
1099 sys.meta_path.insert(0, idna_blocker)
1100
1101 @classmethod
1102 def teardown_class(cls) -> None:

Callers

nothing calls this directly

Calls 2

popMethod · 0.80
stashMethod · 0.80

Tested by

no test coverage detected