diff options
author | Guido van Rossum <guido@python.org> | 1999-04-08 20:27:54 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-04-08 20:27:54 (GMT) |
commit | 9a744a9dd771ee8997bdebaf47ff999b5adc9733 (patch) | |
tree | 5060172f273b17409371c9ad1441b2a8bbc315be /Lib/dos-8x3/test_ntp.py | |
parent | 6d0de99d8da806798ce0b896159bd07fce71c0dc (diff) | |
download | cpython-9a744a9dd771ee8997bdebaf47ff999b5adc9733.zip cpython-9a744a9dd771ee8997bdebaf47ff999b5adc9733.tar.gz cpython-9a744a9dd771ee8997bdebaf47ff999b5adc9733.tar.bz2 |
The usual
Diffstat (limited to 'Lib/dos-8x3/test_ntp.py')
-rw-r--r-- | Lib/dos-8x3/test_ntp.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/dos-8x3/test_ntp.py b/Lib/dos-8x3/test_ntp.py index 9c79865..1f824a5 100644 --- a/Lib/dos-8x3/test_ntp.py +++ b/Lib/dos-8x3/test_ntp.py @@ -16,18 +16,18 @@ def tester(fn, wantResult): errors = errors + 1 tester('ntpath.splitdrive("c:\\foo\\bar")', ('c:', '\\foo\\bar')) -tester('ntpath.splitdrive("\\\\conky\\mountpoint\\foo\\bar")', ('\\\\conky\\mountpoint', '\\foo\\bar')) +tester('ntpath.splitunc("\\\\conky\\mountpoint\\foo\\bar")', ('\\\\conky\\mountpoint', '\\foo\\bar')) tester('ntpath.splitdrive("c:/foo/bar")', ('c:', '/foo/bar')) -tester('ntpath.splitdrive("//conky/mountpoint/foo/bar")', ('//conky/mountpoint', '/foo/bar')) +tester('ntpath.splitunc("//conky/mountpoint/foo/bar")', ('//conky/mountpoint', '/foo/bar')) tester('ntpath.split("c:\\foo\\bar")', ('c:\\foo', 'bar')) tester('ntpath.split("\\\\conky\\mountpoint\\foo\\bar")', ('\\\\conky\\mountpoint\\foo', 'bar')) tester('ntpath.split("c:\\")', ('c:\\', '')) -tester('ntpath.split("\\\\conky\\mountpoint\\")', ('\\\\conky\\mountpoint\\', '')) +tester('ntpath.split("\\\\conky\\mountpoint\\")', ('\\\\conky\\mountpoint', '')) tester('ntpath.split("c:/")', ('c:/', '')) -tester('ntpath.split("//conky/mountpoint/")', ('//conky/mountpoint/', '')) +tester('ntpath.split("//conky/mountpoint/")', ('//conky/mountpoint', '')) tester('ntpath.isabs("c:\\")', 1) tester('ntpath.isabs("\\\\conky\\mountpoint\\")', 1) |