Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Merged
merged 1 commit into from

2 participants

@g2p

No description provided.

@minrk minrk merged commit 7c69db9 into from
@ellisonbg 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/test_magic.py
View
2  IPython/core/tests/test_magic.py
@@ -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)
try:
_ip.magic('cd "%s"' % ipdir)
nt.assert_equal(curpath(), ipdir)
Something went wrong with that request. Please try again.