MCPcopy Create free account
hub / github.com/ipython/ipython / teardown_module

Function teardown_module

IPython/utils/tests/test_path.py:66–74  ·  view source on GitHub ↗

Teardown testenvironment for the module: - Remove dummy home dir tree

()

Source from the content-addressed store, hash-verified

64
65
66def teardown_module():
67 """Teardown testenvironment for the module:
68
69 - Remove dummy home dir tree
70 """
71 # Note: we remove the parent test dir, which is the root of all test
72 # subdirs we may have created. Use shutil instead of os.removedirs, so
73 # that non-empty directories are all recursively removed.
74 shutil.rmtree(TMP_TEST_DIR)
75
76
77def setup_environment():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected