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

Function patch_get_home_dir

IPython/core/tests/test_paths.py:44–45  ·  view source on GitHub ↗
(dirpath)

Source from the content-addressed store, hash-verified

42 shutil.rmtree(TMP_TEST_DIR)
43
44def patch_get_home_dir(dirpath):
45 return patch.object(paths, 'get_home_dir', return_value=dirpath)
46
47
48def test_get_ipython_dir_1():

Callers 5

test_get_ipython_dir_2Function · 0.85
test_get_ipython_dir_3Function · 0.85
test_get_ipython_dir_4Function · 0.85
test_get_ipython_dir_5Function · 0.85
test_get_ipython_dir_6Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected