MCPcopy
hub / github.com/django/django / setUp

Method setUp

tests/utils_tests/test_module_loading.py:221–224  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

219 """
220
221 def setUp(self):
222 super().setUp()
223 sys.path_hooks.insert(0, TestFinder)
224 sys.path_importer_cache.clear()
225
226 def tearDown(self):
227 super().tearDown()

Callers

nothing calls this directly

Calls 3

insertMethod · 0.80
setUpMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected