Skip to content

Commit 0b62b9c

Browse files
Ignore aiohttp DeprecationWarning for 3.12 (#3876)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
1 parent c83ad6c commit 0b62b9c

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
@@ -209,7 +209,10 @@ filterwarnings = [
209209
# https://github.com/aio-libs/aiohttp/issues/6905
210210
'''ignore:'cgi' is deprecated and slated for removal in Python 3.13:DeprecationWarning''',
211211
# Work around https://github.com/pytest-dev/pytest/issues/10977 for Python 3.12
212-
'''ignore:(Attribute s|Attribute n|ast.Str|ast.Bytes|ast.NameConstant|ast.Num) is deprecated and will be removed in Python 3.14:DeprecationWarning'''
212+
'''ignore:(Attribute s|Attribute n|ast.Str|ast.Bytes|ast.NameConstant|ast.Num) is deprecated and will be removed in Python 3.14:DeprecationWarning''',
213+
# Will be fixed with aiohttp 3.9.0
214+
# https://github.com/aio-libs/aiohttp/pull/7302
215+
"ignore:datetime.*utcfromtimestamp\\(\\) is deprecated and scheduled for removal:DeprecationWarning",
213216
]
214217
[tool.coverage.report]
215218
omit = [

0 commit comments

Comments
 (0)