MCPcopy Index your code
hub / github.com/RustPython/RustPython / _check_resolve

Method _check_resolve

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

Source from the content-addressed store, hash-verified

1847 os.chdir(old_path)
1848
1849 def _check_resolve(self, p, expected, strict=True):
1850 q = p.resolve(strict)
1851 self.assertEqual(q, expected)
1852
1853 # This can be used to check both relative and absolute resolutions.
1854 _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