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

This commit is contained in:
Serhiy Storchaka 2013-12-06 17:25:51 +02:00
parent a993902a28
commit 010ff584bc
1 changed files with 2 additions and 2 deletions

View File

@ -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