diff --git a/tests/test_http_request_form.py b/tests/test_http_request_form.py index ede8ce1bb..9d53a5b77 100644 --- a/tests/test_http_request_form.py +++ b/tests/test_http_request_form.py @@ -32,7 +32,7 @@ def _qs(req, encoding="utf-8", to_unicode=False): # many tests below that exercise it ignore the resulting deprecation warning. @pytest.mark.filterwarnings("ignore::scrapy.exceptions.ScrapyDeprecationWarning") class TestFormRequest(TestRequest): - request_class = FormRequest # type: ignore[assignment] + request_class = FormRequest def assertQueryEqual(self, first, second, msg=None): first = to_unicode(first).split("&")