Lines Matching full:drive
131 # Second part has a root but not drive
461 self.assertEqual(P('a/b').drive, '')
462 self.assertEqual(P('/a/b').drive, '')
463 self.assertEqual(P('').drive, '')
780 self.assertFalse(P('d:/b.py').match('c:/*.py')) # wrong drive
875 self.assertEqual(P('c:').drive, 'c:')
876 self.assertEqual(P('c:a/b').drive, 'c:')
877 self.assertEqual(P('c:/').drive, 'c:')
878 self.assertEqual(P('c:/a/b/').drive, 'c:')
879 self.assertEqual(P('//a/b').drive, '\\\\a\\b')
880 self.assertEqual(P('//a/b/').drive, '\\\\a\\b')
881 self.assertEqual(P('//a/b/c/d').drive, '\\\\a\\b')
1064 # Under NT, only paths with both a drive and a root are absolute
1090 # Joining with a different drive => the first path is ignored, even
1098 # Joining with the same drive => the first path is appended to if
1113 # Joining with a different drive => the first path is ignored, even
1120 # Joining with the same drive => the first path is appended to if
1786 self.skipTest("cannot find a drive that doesn't exist")