##// END OF EJS Templates
FileNotebookManager: Use shutil.move() instead of os.rename()...
FileNotebookManager: Use shutil.move() instead of os.rename() `os.rename()` fails in case the new path is on a different filesystem. For example if a file in `/tmp` is tried to save to home, it causes following error: [Errno 18] Invalid cross-device link using os.rename

File last commit:

r9174:3a2553df
r16212:19a55196
Show More
test_imports.py
23 lines | 509 B | text/x-python | PythonLexer
Brian Granger
background_jobs.py => lib/backgroundjob.py and imports updated.
r2011 # encoding: utf-8
def test_import_coloransi():
from IPython.utils import coloransi
Brian Granger
generics.py => utils/generics.py
r2022 def test_import_generics():
from IPython.utils import generics
Brian Granger
ipstruct.py => utils/ipstruct.py and imports updated.
r2030 def test_import_ipstruct():
from IPython.utils import ipstruct
Brian Granger
genutils.py => utils/genutils.py and updated imports and tests.
r2023
Brian Granger
PyColorize.py => utils/PyColorize.py and updated imports.
r2042 def test_import_PyColorize():
from IPython.utils import PyColorize
Brian Granger
rlineimpl.py utils/rlineimpl.py and imports updated.
r2044
def test_import_rlineimpl():
Brian Granger
ultraTB.py => core/ultratb.py and imports updated.
r2048 from IPython.utils import rlineimpl
def test_import_strdispatch():
Brian Granger
upgrade_dir.py => utils/upgradedir.py and updated imports.
r2049 from IPython.utils import strdispatch
Brian Granger
wildcard.py => utils/wildcard.py and updated imports.
r2051 def test_import_wildcard():
from IPython.utils import wildcard
Brian Granger
winconsole.py => utils/winconsole.py and imports updated.
r2052