diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-06-23 03:26:07 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-06-23 03:26:07 (GMT) |
commit | c459755df217824dbfe261debd8e6adff977a10d (patch) | |
tree | 091d81a633854fc8e5ecf7c0863303b8cbcddbdd | |
parent | 008651c56ecd15e4677f0acde9c285cff1f2904c (diff) | |
download | cpython-c459755df217824dbfe261debd8e6adff977a10d.zip cpython-c459755df217824dbfe261debd8e6adff977a10d.tar.gz cpython-c459755df217824dbfe261debd8e6adff977a10d.tar.bz2 |
adjust zipfile tests for splitdrive improvements
-rw-r--r-- | Lib/test/test_zipfile.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_zipfile.py b/Lib/test/test_zipfile.py index 604e57b..0bacc1c 100644 --- a/Lib/test/test_zipfile.py +++ b/Lib/test/test_zipfile.py @@ -476,14 +476,14 @@ class TestsWithSourceFile(unittest.TestCase): (r'C:/foo/bar', 'foo/bar'), (r'C://foo/bar', 'foo/bar'), (r'C:\foo\bar', 'foo/bar'), - (r'//conky/mountpoint/foo/bar', 'conky/mountpoint/foo/bar'), - (r'\\conky\mountpoint\foo\bar', 'conky/mountpoint/foo/bar'), + (r'//conky/mountpoint/foo/bar', 'foo/bar'), + (r'\\conky\mountpoint\foo\bar', 'foo/bar'), (r'///conky/mountpoint/foo/bar', 'conky/mountpoint/foo/bar'), (r'\\\conky\mountpoint\foo\bar', 'conky/mountpoint/foo/bar'), (r'//conky//mountpoint/foo/bar', 'conky/mountpoint/foo/bar'), (r'\\conky\\mountpoint\foo\bar', 'conky/mountpoint/foo/bar'), - (r'//?/C:/foo/bar', '_/C_/foo/bar'), - (r'\\?\C:\foo\bar', '_/C_/foo/bar'), + (r'//?/C:/foo/bar', 'foo/bar'), + (r'\\?\C:\foo\bar', 'foo/bar'), (r'C:/../C:/foo/bar', 'C_/foo/bar'), (r'a:b\c<d>e|f"g?h*i', 'b/c_d_e_f_g_h_i'), ('../../foo../../ba..r', 'foo/ba..r'), |