Home
last modified time | relevance | path

Searched refs:as_uri (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_pathlib.py281 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 …]
/external/python/cpython3/Doc/library/
Dpathlib.rst432 .. method:: PurePath.as_uri()
438 >>> p.as_uri()
441 >>> p.as_uri()
/external/python/cpython3/Lib/
Dpathlib.py720 def as_uri(self): member in PurePath