Show More
@@ -28,6 +28,7 b' from IPython.core.magic import (Magics, magics_class, line_magic,' | |||
|
28 | 28 | register_line_cell_magic) |
|
29 | 29 | from IPython.external.decorator import decorator |
|
30 | 30 | from IPython.testing.decorators import skipif |
|
31 | from IPython.utils.path import compress_user | |
|
31 | 32 | from IPython.utils import py3compat |
|
32 | 33 | |
|
33 | 34 | |
@@ -241,7 +242,7 b' def test_info():' | |||
|
241 | 242 | fname = fname[:-1] |
|
242 | 243 | # case-insensitive comparison needed on some filesystems |
|
243 | 244 | # e.g. Windows: |
|
244 | nt.assert_equal(i['file'].lower(), fname.lower()) | |
|
245 | nt.assert_equal(i['file'].lower(), compress_user(fname.lower())) | |
|
245 | 246 | nt.assert_equal(i['definition'], None) |
|
246 | 247 | nt.assert_equal(i['docstring'], Call.__doc__) |
|
247 | 248 | nt.assert_equal(i['source'], None) |
General Comments 0
You need to be logged in to leave comments.
Login now