(tmp_path: Path, name: str, expected: bool)
| 1565 | "name, expected", [("__main__.py", True), ("__init__.py", False)] |
| 1566 | ) |
| 1567 | def test_is_main_py(tmp_path: Path, name: str, expected: bool) -> None: |
| 1568 | dunder_main = tmp_path.joinpath(name) |
| 1569 | assert _is_main_py(dunder_main) == expected |
nothing calls this directly
no test coverage detected