Skip to content

Commit

Permalink
Fix home path expansion test in Windows.
Browse files Browse the repository at this point in the history
Fixes #2019
  • Loading branch information
Jonathan March committed Jun 24, 2012
1 parent 7415e59 commit 063f34a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IPython/utils/tests/test_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def test_get_ipython_dir_6():
def test_get_ipython_dir_7():
"""test_get_ipython_dir_7, test home directory expansion on IPYTHONDIR"""
path._writable_dir = lambda path: True
home_dir = os.path.expanduser('~')
home_dir = os.path.normpath(os.path.expanduser('~'))
env['IPYTHONDIR'] = os.path.join('~', 'somewhere')
ipdir = path.get_ipython_dir()
nt.assert_equal(ipdir, os.path.join(home_dir, 'somewhere'))
Expand Down

0 comments on commit 063f34a

Please sign in to comment.