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

Function setup_module

IPython/core/tests/test_profile.py:51–58  ·  view source on GitHub ↗

Setup test environment for the module: - Adds dummy home dir tree

()

Source from the content-addressed store, hash-verified

49#
50
51def setup_module():
52 """Setup test environment for the module:
53
54 - Adds dummy home dir tree
55 """
56 # Do not mask exceptions here. In particular, catching WindowsError is a
57 # problem because that exception is only defined on Windows...
58 os.makedirs(IP_TEST_DIR)
59
60
61def teardown_module():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected