From 66ceff374ac7dfcdb554cfc29d26e32ca8d2ac06 Mon Sep 17 00:00:00 2001 From: John Davis Date: Thu, 13 Oct 2022 13:42:00 -0400 Subject: [PATCH] Ignore type error in test: wrong value is intentional --- test/unit/util/test_properties.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/util/test_properties.py b/test/unit/util/test_properties.py index 4817c83e1c9..d643876961a 100644 --- a/test/unit/util/test_properties.py +++ b/test/unit/util/test_properties.py @@ -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