HomeSort by relevance Sort by last modified time
    Searched refs:commonpath (Results 1 - 4 of 4) sorted by null

  /external/python/cpython3/Lib/test/
test_posixpath.py 541 self.assertEqual(posixpath.commonpath(paths), expected)
542 self.assertEqual(posixpath.commonpath([os.fsencode(p) for p in paths]),
545 self.assertRaises(exc, posixpath.commonpath, paths)
546 self.assertRaises(exc, posixpath.commonpath,
549 self.assertRaises(ValueError, posixpath.commonpath, [])
580 self.assertRaises(TypeError, posixpath.commonpath,
582 self.assertRaises(TypeError, posixpath.commonpath,
584 self.assertRaises(TypeError, posixpath.commonpath,
586 self.assertRaises(TypeError, posixpath.commonpath,
588 self.assertRaises(TypeError, posixpath.commonpath,
    [all...]
test_ntpath.py 335 tester(('ntpath.commonpath(%r)' % paths).replace('\\\\', '\\'),
338 self.assertRaises(exc, ntpath.commonpath, paths)
339 self.assertRaises(exc, ntpath.commonpath,
342 self.assertRaises(ValueError, ntpath.commonpath, [])
389 self.assertRaises(TypeError, ntpath.commonpath,
391 self.assertRaises(TypeError, ntpath.commonpath,
393 self.assertRaises(TypeError, ntpath.commonpath,
395 self.assertRaises(TypeError, ntpath.commonpath,
397 self.assertRaises(TypeError, ntpath.commonpath,
399 self.assertRaises(TypeError, ntpath.commonpath,
    [all...]
  /external/python/cpython3/Lib/
posixpath.py 26 "commonpath"]
485 def commonpath(paths): function
489 raise ValueError('commonpath() arg is an empty sequence')
519 genericpath._check_arg_types('commonpath', *paths)
ntpath.py 20 "samefile", "sameopenfile", "samestat", "commonpath"]
615 def commonpath(paths): function
619 raise ValueError('commonpath() arg is an empty sequence')
663 genericpath._check_arg_types('commonpath', *paths)

Completed in 350 milliseconds