mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Ignore type error in test: wrong value is intentional
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user