]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
🐛 Fix internal Trio test warnings (#5547)
authorSamuel Colvin <s@muelcolvin.com>
Mon, 31 Oct 2022 13:36:30 +0000 (13:36 +0000)
committerGitHub <noreply@github.com>
Mon, 31 Oct 2022 13:36:30 +0000 (14:36 +0100)
pyproject.toml

index 755723224fe770c10124b968f1c8db3b22ff595d..c76538c1774388afd23a77b1c046b0eb0eaa83ac 100644 (file)
@@ -137,5 +137,8 @@ filterwarnings = [
     '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',
+    "ignore:You seem to already have a custom.*:RuntimeWarning:trio",
+    "ignore::trio.TrioDeprecationWarning",
+    # TODO remove pytest-cov
+    'ignore::pytest.PytestDeprecationWarning:pytest_cov',
 ]