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

Function test_full_path_win32

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

Source from the content-addressed store, hash-verified

40
41@dec.skip_if_not_win32
42def test_full_path_win32():
43 spath = 'c:\\foo\\bar.py'
44 result = tt.full_path(spath,['a.txt','b.txt'])
45 nt.assert_equal(result, ['c:\\foo\\a.txt', 'c:\\foo\\b.txt'])
46 spath = 'c:\\foo'
47 result = tt.full_path(spath,['a.txt','b.txt'])
48 nt.assert_equal(result, ['c:\\a.txt', 'c:\\b.txt'])
49 result = tt.full_path(spath,'a.txt')
50 nt.assert_equal(result, ['c:\\a.txt'])
51
52
53def test_parser():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected