Skip to content

Commit ecc8de6

Browse files
committed
Add #upstream markers for filtered warnings. Add filter for platform module (ref python/cpython#100750).
1 parent 0d9c6f0 commit ecc8de6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pytest.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
norecursedirs=dist build .tox .eggs
33
addopts=--doctest-modules
44
filterwarnings=
5+
## upstream
56
# Ensure ResourceWarnings are emitted
67
default::ResourceWarning
78

@@ -23,3 +24,8 @@ filterwarnings=
2324

2425
# realpython/pytest-mypy#152
2526
ignore:'encoding' argument not specified::pytest_mypy
27+
28+
# python/cpython#100750
29+
ignore::EncodingWarning:platform
30+
31+
## end upstream

0 commit comments

Comments
 (0)