Show More
@@ -160,6 +160,10 b' def test_get_ipython_dir_7():' | |||||
160 | @skip_win32 |
|
160 | @skip_win32 | |
161 | def test_get_ipython_dir_8(): |
|
161 | def test_get_ipython_dir_8(): | |
162 | """test_get_ipython_dir_8, test / home directory""" |
|
162 | """test_get_ipython_dir_8, test / home directory""" | |
|
163 | if not os.path.isdir('/') or not os.access('/', os.W_OK): | |||
|
164 | # test only when HOME directory actually writable | |||
|
165 | return | |||
|
166 | ||||
163 | with patch.object(paths, '_writable_dir', lambda path: bool(path)), \ |
|
167 | with patch.object(paths, '_writable_dir', lambda path: bool(path)), \ | |
164 | patch.object(paths, 'get_xdg_dir', return_value=None), \ |
|
168 | patch.object(paths, 'get_xdg_dir', return_value=None), \ | |
165 | modified_env({ |
|
169 | modified_env({ |
General Comments 0
You need to be logged in to leave comments.
Login now