Ignore type error in test: wrong value is intentional

This commit is contained in:
John Davis
2022-10-13 13:42:00 -04:00
parent c8a1581e06
commit 66ceff374a
+1 -1
View File
@@ -34,7 +34,7 @@ def test_get_from_env__empty_prefix_ignored(monkeypatch):
monkeypatch.setenv("a", "a-without-prefix-is-set")
assert os.getenv("a") == "a-without-prefix-is-set"
assert get_from_env("a", ["", None], "a-default") == "a-default"
assert get_from_env("a", ["", None], "a-default") == "a-default" # type: ignore[list-item]
@pytest.fixture