]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
🔇 Ignore Trio warning in tests for CI (#5483)
authorSamuel Colvin <s@muelcolvin.com>
Tue, 11 Oct 2022 20:50:01 +0000 (21:50 +0100)
committerGitHub <noreply@github.com>
Tue, 11 Oct 2022 20:50:01 +0000 (00:50 +0400)
pyproject.toml

index dec4cff70c1a991db90aba24706bc0a0d44245b6..eede670fd560977654653eb536227211aa8c4139 100644 (file)
@@ -134,4 +134,6 @@ filterwarnings = [
     # TODO: needed by asyncio in Python 3.9.7 https://bugs.python.org/issue45097, try to remove on 3.9.8
     'ignore:The loop argument is deprecated since Python 3\.8, and scheduled for removal in Python 3\.10:DeprecationWarning:asyncio',
     'ignore:starlette.middleware.wsgi is deprecated and will be removed in a future release\..*:DeprecationWarning:starlette',
+    # see https://trio.readthedocs.io/en/stable/history.html#trio-0-22-0-2022-09-28
+    'ignore::trio.TrioDeprecationWarning',
 ]