diff --git a/pyproject.toml b/pyproject.toml index aad1f4a66b9..8b4b4ba7c0c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,4 +40,9 @@ markers = [ "incompatible_with_mypyc: run when testing mypyc compiled black" ] xfail_strict = true -filterwarnings = ["error"] +filterwarnings = [ + "error", + '''ignore:Decorator `@unittest_run_loop` is no longer needed in aiohttp 3\.8\+:DeprecationWarning''', + '''ignore:Bare functions are deprecated, use async ones:DeprecationWarning''', + '''ignore:invalid escape sequence.*:DeprecationWarning''', +]