Searched refs:as_uri (Results 1 – 3 of 3) sorted by relevance
281 P('a').as_uri()283 P().as_uri()649 self.assertEqual(P('/').as_uri(), 'file:///')650 self.assertEqual(P('/a/b.c').as_uri(), 'file:///a/b.c')651 self.assertEqual(P('/a/b%#c').as_uri(), 'file:///a/b%25%23c')660 self.assertEqual(P('/a/b\xe9').as_uri(),761 P('/a/b').as_uri()763 P('c:a/b').as_uri()764 self.assertEqual(P('c:/').as_uri(), 'file:///c:/')765 self.assertEqual(P('c:/a/b.c').as_uri(), 'file:///c:/a/b.c')[all …]
432 .. method:: PurePath.as_uri()438 >>> p.as_uri()441 >>> p.as_uri()
720 def as_uri(self): member in PurePath