summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pathlib.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-12-06 15:25:51 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-12-06 15:25:51 (GMT)
commit010ff584bc2f6311ead82221a4e2072c7f31bad3 (patch)
treec469d805ed3127eb0eb225d5bb648b1e2cd2a8d5 /Lib/test/test_pathlib.py
parenta993902a287a0d8ff02e2fa6e451b5277c4b4af9 (diff)
downloadcpython-010ff584bc2f6311ead82221a4e2072c7f31bad3.zip
cpython-010ff584bc2f6311ead82221a4e2072c7f31bad3.tar.gz
cpython-010ff584bc2f6311ead82221a4e2072c7f31bad3.tar.bz2
Test same drive in different cases (issue #19908).
Diffstat (limited to 'Lib/test/test_pathlib.py')
-rwxr-xr-xLib/test/test_pathlib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_pathlib.py b/Lib/test/test_pathlib.py
index 4149c9e..a8d740f 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