From f799a996e1bcf1718c1aecb8b78338a58172fa00 Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Sun, 5 Jan 2025 14:06:33 +0000 Subject: [PATCH] Ignore mypy unused-ignore error on Python >=3.10 --- test/unit/app/managers/test_user_file_sources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/app/managers/test_user_file_sources.py b/test/unit/app/managers/test_user_file_sources.py index bb30feed8184..2ea159b3699d 100644 --- a/test/unit/app/managers/test_user_file_sources.py +++ b/test/unit/app/managers/test_user_file_sources.py @@ -883,4 +883,4 @@ def __init__(self, exception_msg: str): self._exception_msg = exception_msg def raise_for_status(self): - raise HTTPError(self._exception_msg, self._exception_msg, response=None) # type: ignore[arg-type] + raise HTTPError(self._exception_msg, self._exception_msg, response=None) # type: ignore[arg-type,unused-ignore] # Fixed in types-requests 2.31.0.9 , which requires Python >=3.9 via urllib3 >=2