Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Fix tests to work when ~/.config/ipython contains a symlink. #1138

merged 1 commit into from

2 participants

Gabriel de Perthuis Min RK
Gabriel de Perthuis

No description provided.

Min RK minrk merged commit 7c69db9 into from
Brian E. Granger ellisonbg referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  IPython/core/tests/
2  IPython/core/tests/
@@ -238,7 +238,7 @@ def test_dirops():
# curpath = lambda :os.path.splitdrive(os.getcwdu())[1].replace('\\','/')
curpath = os.getcwdu
startdir = os.getcwdu()
- ipdir = _ip.ipython_dir
+ ipdir = os.path.realpath(_ip.ipython_dir)
_ip.magic('cd "%s"' % ipdir)
nt.assert_equal(curpath(), ipdir)
Something went wrong with that request. Please try again.