Tighten the spelling-test docstring

This commit is contained in:
J. Nick Koston
2026-08-22 23:33:59 -05:00
parent 8760c72945
commit 647cd8a633
+1 -3
View File
@@ -1124,8 +1124,6 @@ def test_format_duration(seconds: float, expected: str) -> None:
def test_get_bool_env_common_spellings(
monkeypatch: pytest.MonkeyPatch, value: str, expected: bool
) -> None:
"""The common on/off spellings parse instead of falling through to
bool(str), which read "off" as enabled (e.g. IDF_CCACHE_ENABLE=off
left ccache on)."""
"""The common on/off spellings parse instead of reading as truthy."""
monkeypatch.setenv("SOME_KNOB", value)
assert helpers.get_bool_env("SOME_KNOB") is expected