[Python-checkins] cpython (2.7): adjust zipfile tests for splitdrive improvements

benjamin.peterson python-checkins at python.org
Mon Jun 23 05:28:17 CEST 2014


http://hg.python.org/cpython/rev/e28004fb30c0
changeset:   91345:e28004fb30c0
branch:      2.7
parent:      91342:b2e5d3a97452
user:        Benjamin Peterson <benjamin at python.org>
date:        Sun Jun 22 20:26:07 2014 -0700
summary:
  adjust zipfile tests for splitdrive improvements

files:
  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
--- a/Lib/test/test_zipfile.py
+++ b/Lib/test/test_zipfile.py
@@ -476,14 +476,14 @@
                 (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'),

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list