MCPcopy Create free account
hub / github.com/apache/tvm-ffi / test_basic_path_flags

Function test_basic_path_flags

tests/python/test_libinfo.py:55–60  ·  view source on GitHub ↗
(flag: str, expected_fn: Callable[[], str], is_dir: bool)

Source from the content-addressed store, hash-verified

53 ],
54)
55def test_basic_path_flags(flag: str, expected_fn: Callable[[], str], is_dir: bool) -> None:
56 output = _stdout_for(flag)
57 assert output == expected_fn()
58 path = Path(output)
59 assert path.exists()
60 assert path.is_dir() if is_dir else path.is_file()
61
62
63def test_libdir_matches_library_parent() -> None:

Callers

nothing calls this directly

Calls 1

_stdout_forFunction · 0.85

Tested by

no test coverage detected