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

Method test_single_dir

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

Source from the content-addressed store, hash-verified

113 assert get_common_ancestor([fn1, fn2.parent]) == tmp_path / "foo"
114
115 def test_single_dir(self, tmp_path: Path) -> None:
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"

Callers

nothing calls this directly

Calls 1

get_common_ancestorFunction · 0.90

Tested by

no test coverage detected