MCPcopy Index your code
hub / github.com/python/cpython / make_uri

Method make_uri

Lib/test/test_pathlib/test_pathlib.py:425–429  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

423 P() < {}
424
425 def make_uri(self, path):
426 if isinstance(path, pathlib.Path):
427 return path.as_uri()
428 with self.assertWarns(DeprecationWarning):
429 return path.as_uri()
430
431 def test_as_uri_common(self):
432 P = self.cls

Callers 4

test_as_uri_commonMethod · 0.95
test_as_uri_posixMethod · 0.95
test_as_uri_non_asciiMethod · 0.95
test_as_uri_windowsMethod · 0.95

Calls 2

assertWarnsMethod · 0.80
as_uriMethod · 0.45

Tested by

no test coverage detected