diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-12-06 15:25:51 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-12-06 15:25:51 (GMT) |
commit | 010ff584bc2f6311ead82221a4e2072c7f31bad3 (patch) | |
tree | c469d805ed3127eb0eb225d5bb648b1e2cd2a8d5 /Lib/test/test_pathlib.py | |
parent | a993902a287a0d8ff02e2fa6e451b5277c4b4af9 (diff) | |
download | cpython-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-x | Lib/test/test_pathlib.py | 4 |
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 |