Searched refs:as_uri (Results 1 – 3 of 3) sorted by relevance
282 P('a').as_uri()284 P().as_uri()719 self.assertEqual(P('/').as_uri(), 'file:///')720 self.assertEqual(P('/a/b.c').as_uri(), 'file:///a/b.c')721 self.assertEqual(P('/a/b%#c').as_uri(), 'file:///a/b%25%23c')730 self.assertEqual(P('/a/b\xe9').as_uri(),831 P('/a/b').as_uri()833 P('c:a/b').as_uri()834 self.assertEqual(P('c:/').as_uri(), 'file:///c:/')835 self.assertEqual(P('c:/a/b.c').as_uri(), 'file:///c:/a/b.c')[all …]
434 .. method:: PurePath.as_uri()440 >>> p.as_uri()443 >>> p.as_uri()
646 def as_uri(self): member in PurePath