##// END OF EJS Templates
Fix tests to work when ~/.config/ipython contains a symlink.
Gabriel -
Show More
@@ -238,7 +238,7 b' def test_dirops():'
238 238 # curpath = lambda :os.path.splitdrive(os.getcwdu())[1].replace('\\','/')
239 239 curpath = os.getcwdu
240 240 startdir = os.getcwdu()
241 ipdir = _ip.ipython_dir
241 ipdir = os.path.realpath(_ip.ipython_dir)
242 242 try:
243 243 _ip.magic('cd "%s"' % ipdir)
244 244 nt.assert_equal(curpath(), ipdir)
General Comments 0
You need to be logged in to leave comments. Login now