Skip to content

Commit

Permalink
Add #upstream markers for filtered warnings. Add filter for platform …
Browse files Browse the repository at this point in the history
…module (ref python/cpython#100750).
  • Loading branch information
jaraco committed Feb 7, 2023
1 parent 0d9c6f0 commit ecc8de6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
norecursedirs=dist build .tox .eggs
addopts=--doctest-modules
filterwarnings=
## upstream
# Ensure ResourceWarnings are emitted
default::ResourceWarning

Expand All @@ -23,3 +24,8 @@ filterwarnings=

# realpython/pytest-mypy#152
ignore:'encoding' argument not specified::pytest_mypy

# python/cpython#100750
ignore::EncodingWarning:platform

## end upstream

0 comments on commit ecc8de6

Please sign in to comment.