MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_single_file

Method test_single_file

testing/test_findpaths.py:118–121  ·  view source on GitHub ↗
(self, tmp_path: Path)

Source from the content-addressed store, hash-verified

116 assert get_common_ancestor([tmp_path]) == tmp_path
117
118 def test_single_file(self, tmp_path: Path) -> None:
119 fn = tmp_path / "foo.py"
120 fn.touch()
121 assert get_common_ancestor([fn]) == tmp_path
122
123
124def test_get_dirs_from_args(tmp_path):

Callers

nothing calls this directly

Calls 1

get_common_ancestorFunction · 0.90

Tested by

no test coverage detected