From 112b232023c43c2bc54020dc3bdc69c66d2f1502 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Chaves?= Date: Sun, 8 Jan 2023 11:47:38 +0100 Subject: [PATCH] Silence the scrapy.responsetypes deprecation warning in tests --- pytest.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pytest.ini b/pytest.ini index f5fbf2529..4398ae2cd 100644 --- a/pytest.ini +++ b/pytest.ini @@ -22,7 +22,8 @@ markers = only_asyncio: marks tests as only enabled when --reactor=asyncio is passed only_not_asyncio: marks tests as only enabled when --reactor=asyncio is not passed filterwarnings = - ignore:scrapy.downloadermiddlewares.decompression is deprecated ignore:Module scrapy.utils.reqser is deprecated + ignore:scrapy.downloadermiddlewares.decompression is deprecated + ignore:scrapy.responsetypes is deprecated ignore:typing.re is deprecated ignore:typing.io is deprecated