]> git.ipfire.org Git - thirdparty/starlette.git/commitdiff
Ignore loop deprecation warnings originating inside asyncio (#1287)
authorMarcelo Trylesinski <marcelotryle@gmail.com>
Thu, 16 Sep 2021 12:16:25 +0000 (14:16 +0200)
committerGitHub <noreply@github.com>
Thu, 16 Sep 2021 12:16:25 +0000 (14:16 +0200)
setup.cfg

index f59a72029250b10f8ff5f22a6bc5c6fcce888634..1266d95c8e56a592e1b54013ef9b20620061d6c2 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -29,6 +29,8 @@ filterwarnings=
     ignore: Using or importing the ABCs from 'collections' instead of from 'collections\.abc' is deprecated.*:DeprecationWarning
     ignore: The 'context' alias has been deprecated. Please use 'context_value' instead\.:DeprecationWarning
     ignore: The 'variables' alias has been deprecated. Please use 'variable_values' instead\.:DeprecationWarning
+    # Workaround for Python 3.9.7 (see https://bugs.python.org/issue45097)
+    ignore:The loop argument is deprecated since Python 3\.8, and scheduled for removal in Python 3\.10\.:DeprecationWarning:asyncio
 
 [coverage:run]
 source_pkgs = starlette, tests