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

Function teardown_module

IPython/core/tests/test_profile.py:61–69  ·  view source on GitHub ↗

Teardown test environment for the module: - Remove dummy home dir tree

()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected