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