File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -133,17 +133,17 @@ filterwarnings =
133
133
ignore::pytest.RemovedInPytest4Warning
134
134
default:Using or importing the ABCs:DeprecationWarning:unittest2.*
135
135
ignore:Module already imported so cannot be rewritten:pytest.PytestWarning
136
- # produced by path.local
137
- ignore:bad escape.*:DeprecationWarning:re
138
- # produced by path.readlines
139
- ignore:.*U.*mode is deprecated:DeprecationWarning
136
+ # produced by python3.6/site.py itself (3.6.7 on Travis, could not trigger it with 3.6.8).
137
+ ignore:.*U.*mode is deprecated:DeprecationWarning:(?!(pytest|_pytest))
140
138
# produced by pytest-xdist
141
139
ignore:.*type argument to addoption.*:DeprecationWarning
142
140
# produced by python >=3.5 on execnet (pytest-xdist)
143
141
ignore:.*inspect.getargspec.*deprecated, use inspect.signature.*:DeprecationWarning
144
142
# pytest's own futurewarnings
145
143
ignore::pytest.PytestExperimentalApiWarning
146
144
# Do not cause SyntaxError for invalid escape sequences in py37.
145
+ # Those are caught/handled by pyupgrade, and not easy to filter with the
146
+ # module being the filename (with .py removed).
147
147
default:invalid escape sequence:DeprecationWarning
148
148
# ignore use of unregistered marks, because we use many to test the implementation
149
149
ignore::_pytest.warning_types.PytestUnknownMarkWarning
You can’t perform that action at this time.
0 commit comments