mirror of https://github.com/tiangolo/fastapi.git
🔇 Ignore warning from attrs in Trio (#11949)
This commit is contained in:
parent
22ffde0356
commit
f3e49e5f4e
|
|
@ -157,7 +157,6 @@ filterwarnings = [
|
|||
"ignore:'crypt' is deprecated and slated for removal in Python 3.13:DeprecationWarning",
|
||||
# see https://trio.readthedocs.io/en/stable/history.html#trio-0-22-0-2022-09-28
|
||||
"ignore:You seem to already have a custom.*:RuntimeWarning:trio",
|
||||
"ignore::trio.TrioDeprecationWarning",
|
||||
# TODO remove pytest-cov
|
||||
'ignore::pytest.PytestDeprecationWarning:pytest_cov',
|
||||
# TODO: remove after upgrading SQLAlchemy to a version that includes the following changes
|
||||
|
|
@ -169,6 +168,10 @@ filterwarnings = [
|
|||
# - https://github.com/mpdavis/python-jose/issues/332
|
||||
# - https://github.com/mpdavis/python-jose/issues/334
|
||||
'ignore:datetime\.datetime\.utcnow\(\) is deprecated and scheduled for removal in a future version\..*:DeprecationWarning:jose',
|
||||
# Trio 24.1.0 raises a warning from attrs
|
||||
# Ref: https://github.com/python-trio/trio/pull/3054
|
||||
# Remove once there's a new version of Trio
|
||||
'ignore:The `hash` argument is deprecated*:DeprecationWarning:trio',
|
||||
]
|
||||
|
||||
[tool.coverage.run]
|
||||
|
|
|
|||
Loading…
Reference in New Issue