Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c459755

Browse files
committed
adjust zipfile tests for splitdrive improvements
1 parent 008651c commit c459755

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Lib/test/test_zipfile.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -476,14 +476,14 @@ def test_extract_hackers_arcnames(self):
476476
(r'C:/foo/bar', 'foo/bar'),
477477
(r'C://foo/bar', 'foo/bar'),
478478
(r'C:\foo\bar', 'foo/bar'),
479-
(r'//conky/mountpoint/foo/bar', 'conky/mountpoint/foo/bar'),
480-
(r'\\conky\mountpoint\foo\bar', 'conky/mountpoint/foo/bar'),
479+
(r'//conky/mountpoint/foo/bar', 'foo/bar'),
480+
(r'\\conky\mountpoint\foo\bar', 'foo/bar'),
481481
(r'///conky/mountpoint/foo/bar', 'conky/mountpoint/foo/bar'),
482482
(r'\\\conky\mountpoint\foo\bar', 'conky/mountpoint/foo/bar'),
483483
(r'//conky//mountpoint/foo/bar', 'conky/mountpoint/foo/bar'),
484484
(r'\\conky\\mountpoint\foo\bar', 'conky/mountpoint/foo/bar'),
485-
(r'//?/C:/foo/bar', '_/C_/foo/bar'),
486-
(r'\\?\C:\foo\bar', '_/C_/foo/bar'),
485+
(r'//?/C:/foo/bar', 'foo/bar'),
486+
(r'\\?\C:\foo\bar', 'foo/bar'),
487487
(r'C:/../C:/foo/bar', 'C_/foo/bar'),
488488
(r'a:b\c<d>e|f"g?h*i', 'b/c_d_e_f_g_h_i'),
489489
('../../foo../../ba..r', 'foo/ba..r'),

0 commit comments

Comments
 (0)