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

Function test_get_home_dir_3

IPython/utils/tests/test_path.py:135–140  ·  view source on GitHub ↗

get_home_dir() uses $HOME if set

()

Source from the content-addressed store, hash-verified

133@skip_win32_py38
134@with_environment
135def test_get_home_dir_3():
136 """get_home_dir() uses $HOME if set"""
137 env["HOME"] = HOME_TEST_DIR
138 home_dir = path.get_home_dir(True)
139 # get_home_dir expands symlinks
140 nt.assert_equal(home_dir, os.path.realpath(env["HOME"]))
141
142
143@with_environment

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected