Commit 010ff584 authored by Serhiy Storchaka's avatar Serhiy Storchaka

Test same drive in different cases (issue #19908).

parent a993902a
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment