MCPcopy Create free account
hub / github.com/ipython/ipython / test_filefind

Function test_filefind

IPython/utils/tests/test_path.py:245–251  ·  view source on GitHub ↗

Various tests for filefind

()

Source from the content-addressed store, hash-verified

243 nt.assert_equal(path.get_xdg_dir(), None)
244
245def test_filefind():
246 """Various tests for filefind"""
247 f = tempfile.NamedTemporaryFile()
248 # print 'fname:',f.name
249 alt_dirs = paths.get_ipython_dir()
250 t = path.filefind(f.name, alt_dirs)
251 # print 'found:',t
252
253
254@dec.skip_if_not_win32

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected