Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
44
def
patch_get_home_dir(dirpath):
45
return
patch.object(paths,
'get_home_dir'
, return_value=dirpath)
46
47
48
def
test_get_ipython_dir_1():
Callers
5
test_get_ipython_dir_2
Function · 0.85
test_get_ipython_dir_3
Function · 0.85
test_get_ipython_dir_4
Function · 0.85
test_get_ipython_dir_5
Function · 0.85
test_get_ipython_dir_6
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected