Skip to content

Commit 3ee5363

Browse files
committed
Skip warnings
1 parent 7074bbe commit 3ee5363

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,10 @@ filterwarnings = [
103103
"ignore:GridOut property 'aliases' is deprecated and will be removed in PyMongo 5.0:DeprecationWarning",
104104
# From older versions aiohttp.
105105
"ignore:\"@coroutine\" decorator is deprecated since Python 3.8:DeprecationWarning",
106-
"ignore:The loop argument is deprecated since Python 3.8:DeprecationWarning"
106+
"ignore:The loop argument is deprecated since Python 3.8:DeprecationWarning",
107+
# TODO: Remove both of these in https://jira.mongodb.org/browse/PYTHON-4731
108+
"ignore:Unclosed AsyncMongoClient*",
109+
"ignore:Unclosed MongoClient*",
107110
]
108111

109112
[tool.ruff]

0 commit comments

Comments
 (0)