@@ -9,25 +9,6 @@ filterwarnings=
9
9
# Fail on warnings
10
10
error
11
11
12
- # # upstream
13
-
14
- # Ensure ResourceWarnings are emitted
15
- default::ResourceWarning
16
-
17
- # realpython/pytest-mypy#152
18
- ignore:' encoding' argument not specified::pytest_mypy
19
-
20
- # python/cpython#100750
21
- ignore:' encoding' argument not specified::platform
22
-
23
- # pypa/build#615
24
- ignore:' encoding' argument not specified::build.env
25
-
26
- # dateutil/dateutil#1284
27
- ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning:dateutil.tz.tz
28
-
29
- # # end upstream
30
-
31
12
# https://github.com/pypa/setuptools/issues/1823
32
13
ignore:bdist_wininst command is deprecated
33
14
# Suppress this error; unimportant for CI tests
@@ -71,7 +52,6 @@ filterwarnings=
71
52
# Workarounds for pypa/setuptools#3810
72
53
# Can't use EncodingWarning as it doesn't exist on Python 3.9
73
54
default:' encoding' argument not specified
74
- default:UTF-8 Mode affects locale.getpreferredencoding().
75
55
76
56
# Avoid errors when testing pkg_resources.declare_namespace
77
57
ignore:.*pkg_resources\.declare_namespace.*:DeprecationWarning
@@ -84,3 +64,25 @@ filterwarnings=
84
64
85
65
# Ignore warnings about experimental features
86
66
ignore:..tool\.distutils.. in .pyproject\.toml. is still .experimental.*
67
+
68
+ # # upstream
69
+
70
+ # Ensure ResourceWarnings are emitted
71
+ default::ResourceWarning
72
+
73
+ # realpython/pytest-mypy#152
74
+ ignore:' encoding' argument not specified::pytest_mypy
75
+
76
+
77
+ # pypa/pip#12070
78
+ ignore:' encoding' argument not specified::pip
79
+
80
+ # TODO: These 2 ignores don't work, why?
81
+
82
+ # pytest-dev/pytest # TODO: Raise issue upstream
83
+ ignore:' encoding' argument not specified::_pytest
84
+
85
+ # pypa/distutils # TODO: Raise issue upstream
86
+ ignore:' encoding' argument not specified::setuptools._distutils
87
+
88
+ # # end upstream
0 commit comments