Skip to content

Commit 5f095d1

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

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pytest.ini

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
norecursedirs=dist build .tox .eggs
33
addopts=--doctest-modules
44
filterwarnings=
5+
## upstream
6+
57
# Ensure ResourceWarnings are emitted
68
default::ResourceWarning
79

@@ -23,3 +25,8 @@ filterwarnings=
2325

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

0 commit comments

Comments
 (0)