Lines Matching refs:normpath
291 self.assertEqual(posixpath.normpath(""), ".")
292 self.assertEqual(posixpath.normpath("/"), "/")
293 self.assertEqual(posixpath.normpath("//"), "//")
294 self.assertEqual(posixpath.normpath("///"), "/")
295 self.assertEqual(posixpath.normpath("///foo/.//bar//"), "/foo/bar")
296 self.assertEqual(posixpath.normpath("///foo/.//bar//.//..//.//baz"),
298 self.assertEqual(posixpath.normpath("///..//./foo/.//bar"), "/foo/bar")
300 self.assertEqual(posixpath.normpath(b""), b".")
301 self.assertEqual(posixpath.normpath(b"/"), b"/")
302 self.assertEqual(posixpath.normpath(b"//"), b"//")
303 self.assertEqual(posixpath.normpath(b"///"), b"/")
304 self.assertEqual(posixpath.normpath(b"///foo/.//bar//"), b"/foo/bar")
305 self.assertEqual(posixpath.normpath(b"///foo/.//bar//.//..//.//baz"),
307 self.assertEqual(posixpath.normpath(b"///..//./foo/.//bar"),
668 self.assertPathEqual(self.path.normpath)