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

Function test_get_ipython_dir_8

IPython/core/tests/test_paths.py:161–170  ·  view source on GitHub ↗

test_get_ipython_dir_8, test / home directory

()

Source from the content-addressed store, hash-verified

159
160@skip_win32
161def test_get_ipython_dir_8():
162 """test_get_ipython_dir_8, test / home directory"""
163 with patch.object(paths, '_writable_dir', lambda path: bool(path)), \
164 patch.object(paths, 'get_xdg_dir', return_value=None), \
165 modified_env({
166 'IPYTHON_DIR': None,
167 'IPYTHONDIR': None,
168 'HOME': '/',
169 }):
170 nt.assert_equal(paths.get_ipython_dir(), '/.ipython')
171
172
173def test_get_ipython_cache_dir():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected