Skip to content

Commit

Permalink
Removed warning ignores we never really needed
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Nov 10, 2024
1 parent 85b4131 commit bdf09a6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,10 @@ show_error_codes = true
addopts = "-rsfE --tb=short --strict-config --strict-markers -p anyio -p no:asyncio -p no:trio"
testpaths = ["tests"]
xfail_strict = true
# Ignore resource warnings due to a CPython/Windows bug (https://bugs.python.org/issue44428)
filterwarnings = [
"error",
# Ignore resource warnings due to a CPython/Windows bug (https://bugs.python.org/issue44428)
"ignore:unclosed transport <_ProactorSocketTransport.*:ResourceWarning",
"ignore:ast.Str is deprecated:DeprecationWarning",
"ignore:Attribute s is deprecated:DeprecationWarning",
"ignore:ast.NameConstant is deprecated:DeprecationWarning",
# Workaround for Python 3.9.7 (see https://bugs.python.org/issue45097)
"ignore:The loop argument is deprecated since Python 3\\.8, and scheduled for removal in Python 3\\.10\\.:DeprecationWarning:asyncio",
]
Expand Down

0 comments on commit bdf09a6

Please sign in to comment.