##// END OF EJS Templates
FileLink: accept path-like objects (#11059)...
FileLink: accept path-like objects (#11059) Accept path-like objects by converting them to strings using `os.fsdecode`. From the Python 3 [glossary][1]: > `os.fsdecode()` and `os.fsencode()` can be used to guarantee a `str` > or `bytes` result N.B. `os.fsdecode` accepts path-like objects starting with Python 3.6, so users of older versions still can't use FileLink with path-like objects. [1]: https://docs.python.org/3/glossary.html#term-path-like-object

File last commit:

r13855:18493681
r24227:707258ee
Show More
test_imports.py
11 lines | 270 B | text/x-python | PythonLexer
Brian Granger
background_jobs.py => lib/backgroundjob.py and imports updated.
r2011 # encoding: utf-8
Thomas Kluyver
Skip import irunner test on Windows....
r11235 from IPython.testing import decorators as dec
Brian Granger
background_jobs.py => lib/backgroundjob.py and imports updated.
r2011
def test_import_backgroundjobs():
from IPython.lib import backgroundjobs
Brian Granger
deep_reload.py =? lib/deepreload.py and imports updated.
r2016 def test_import_deepreload():
from IPython.lib import deepreload
Brian Granger
demo.py => lib/demo.py and imports updated.
r2017 def test_import_demo():
Brian Granger
irunner.py => lib/irunner.py and imports updated.
r2035 from IPython.lib import demo