()
| 8 | |
| 9 | |
| 10 | def test_runtime_version_matches_pyproject() -> None: |
| 11 | with (Path(__file__).resolve().parents[1] / "pyproject.toml").open("rb") as file: |
| 12 | pyproject = tomllib.load(file) |
| 13 | |
| 14 | assert VERSION == pyproject["project"]["version"] |
| 15 | assert get_version() == VERSION |
| 16 | |
| 17 | |
| 18 | def test_version_surfaces_use_same_source() -> None: |
nothing calls this directly
no test coverage detected