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

Method setUp

Lib/test/test_import/__init__.py:356–358  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

354class ImportTests(unittest.TestCase):
355
356 def setUp(self):
357 remove_files(TESTFN)
358 importlib.invalidate_caches()
359
360 def tearDown(self):
361 unload(TESTFN)

Callers

nothing calls this directly

Calls 2

remove_filesFunction · 0.85
invalidate_cachesMethod · 0.45

Tested by

no test coverage detected