Skip to content

Commit 79faa3e

Browse files
committed
Ignore Task.cancel() and Future.cancel() messages since they are not in our library
Signed-off-by: Madhav Kandukuri <[email protected]>
1 parent ff0238e commit 79faa3e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,9 @@ minversion = "6.0"
311311
addopts = "-ra -q --cov=mcpgateway"
312312
testpaths = [ "tests",]
313313
asyncio_mode = "auto"
314+
filterwarnings = [
315+
"ignore:Passing 'msg' argument to .*\\.cancel\\(\\) is deprecated:DeprecationWarning",
316+
]
314317

315318
# ── fawltydeps ─────────────────────────────────────────────────────
316319
[tool.fawltydeps]

0 commit comments

Comments
 (0)