Lines Matching refs:splitext
74 self.assertEqual(posixpath.splitext(path), (filename, ext))
75 self.assertEqual(posixpath.splitext("/" + path), ("/" + filename, ext))
76 self.assertEqual(posixpath.splitext("abc/" + path),
78 self.assertEqual(posixpath.splitext("abc.def/" + path),
80 self.assertEqual(posixpath.splitext("/abc.def/" + path),
82 self.assertEqual(posixpath.splitext(path + "/"),
89 self.assertEqual(posixpath.splitext(path), (filename, ext))
90 self.assertEqual(posixpath.splitext(b"/" + path),
92 self.assertEqual(posixpath.splitext(b"abc/" + path),
94 self.assertEqual(posixpath.splitext(b"abc.def/" + path),
96 self.assertEqual(posixpath.splitext(b"/abc.def/" + path),
98 self.assertEqual(posixpath.splitext(path + b"/"),
641 self.assertPathEqual(self.path.splitext)