From: Serhiy Storchaka Date: Fri, 6 Dec 2013 15:25:51 +0000 (+0200) Subject: Test same drive in different cases (issue #19908). X-Git-Tag: v3.4.0b2~323 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=010ff584bc2f6311ead82221a4e2072c7f31bad3;p=thirdparty%2FPython%2Fcpython.git Test same drive in different cases (issue #19908). --- diff --git a/Lib/test/test_pathlib.py b/Lib/test/test_pathlib.py index 4149c9ede123..a8d740f3ae2a 100755 --- a/Lib/test/test_pathlib.py +++ b/Lib/test/test_pathlib.py @@ -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