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

Function setup_module

IPython/utils/tests/test_path.py:56–63  ·  view source on GitHub ↗

Setup testenvironment for the module: - Adds dummy home dir tree

()

Source from the content-addressed store, hash-verified

54#
55
56def setup_module():
57 """Setup testenvironment for the module:
58
59 - Adds dummy home dir tree
60 """
61 # Do not mask exceptions here. In particular, catching WindowsError is a
62 # problem because that exception is only defined on Windows...
63 os.makedirs(os.path.join(HOME_TEST_DIR, 'ipython'))
64
65
66def teardown_module():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected