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 86d99e4 commit 314e238
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
norecursedirs=dist build .tox .eggs
addopts=--doctest-modules
filterwarnings=
## upstream

# Ensure ResourceWarnings are emitted
default::ResourceWarning

Expand All @@ -23,3 +25,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 314e238

Please sign in to comment.