]> granicus.if.org Git - python/commitdiff
Test same drive in different cases (issue #19908).
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 6 Dec 2013 15:25:51 +0000 (17:25 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Fri, 6 Dec 2013 15:25:51 +0000 (17:25 +0200)
Lib/test/test_pathlib.py

index 4149c9ede123e9a843ab1e52109e7978f581946b..a8d740f3ae2a9b3c8a9e1a6e4800dc224031fb0c 100755 (executable)
@@ -1014,8 +1014,8 @@ class PureWindowsPathTest(_BasePurePathTest, unittest.TestCase):
         self.assertEqual(p / '//host/share/x/y', P('//host/share/x/y'))
         # Joining with the same drive => the first path is appended to if
         # the second path is relative.
-        self.assertEqual(p / 'C:x/y', P('C:/a/b/x/y'))
-        self.assertEqual(p / 'C:/x/y', P('C:/x/y'))
+        self.assertEqual(p / 'c:x/y', P('C:/a/b/x/y'))
+        self.assertEqual(p / 'c:/x/y', P('C:/x/y'))
 
     def test_is_reserved(self):
         P = self.cls