Show More
@@ -286,7 +286,7 b' def test_get_ipython_dir_6():' | |||||
286 | def test_get_ipython_dir_7(): |
|
286 | def test_get_ipython_dir_7(): | |
287 | """test_get_ipython_dir_7, test home directory expansion on IPYTHONDIR""" |
|
287 | """test_get_ipython_dir_7, test home directory expansion on IPYTHONDIR""" | |
288 | path._writable_dir = lambda path: True |
|
288 | path._writable_dir = lambda path: True | |
289 | home_dir = os.path.expanduser('~') |
|
289 | home_dir = os.path.normpath(os.path.expanduser('~')) | |
290 | env['IPYTHONDIR'] = os.path.join('~', 'somewhere') |
|
290 | env['IPYTHONDIR'] = os.path.join('~', 'somewhere') | |
291 | ipdir = path.get_ipython_dir() |
|
291 | ipdir = path.get_ipython_dir() | |
292 | nt.assert_equal(ipdir, os.path.join(home_dir, 'somewhere')) |
|
292 | nt.assert_equal(ipdir, os.path.join(home_dir, 'somewhere')) |
General Comments 0
You need to be logged in to leave comments.
Login now