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

Method _check_resolve

Lib/test/test_pathlib/test_pathlib.py:1840–1842  ·  view source on GitHub ↗
(self, p, expected, strict=True)

Source from the content-addressed store, hash-verified

1838 os.chdir(old_path)
1839
1840 def _check_resolve(self, p, expected, strict=True):
1841 q = p.resolve(strict)
1842 self.assertEqual(q, expected)
1843
1844 # This can be used to check both relative and absolute resolutions.
1845 _check_resolve_relative = _check_resolve_absolute = _check_resolve

Callers

nothing calls this directly

Calls 2

resolveMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected