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

Function test_full_path_posix

IPython/testing/tests/test_tools.py:30–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28
29@dec.skip_win32
30def test_full_path_posix():
31 spath = '/foo/bar.py'
32 result = tt.full_path(spath,['a.txt','b.txt'])
33 nt.assert_equal(result, ['/foo/a.txt', '/foo/b.txt'])
34 spath = '/foo'
35 result = tt.full_path(spath,['a.txt','b.txt'])
36 nt.assert_equal(result, ['/a.txt', '/b.txt'])
37 result = tt.full_path(spath,'a.txt')
38 nt.assert_equal(result, ['/a.txt'])
39
40
41@dec.skip_if_not_win32

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected