Skip to content

Commit fd561ed

Browse files
committed
Switch test_works_with_filterwarnings to skip
As requested in #13481 (comment)
1 parent 9240a50 commit fd561ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

testing/test_warnings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ def test_func(fix):
149149
)
150150

151151

152+
@pytest.mark.skip("issue #13485")
152153
def test_works_with_filterwarnings(pytester: Pytester) -> None:
153154
"""Ensure our warnings capture does not mess with pre-installed filters (#2430)."""
154155
pytester.makepyfile(
@@ -169,7 +170,7 @@ def test_my_warning(self):
169170
assert True
170171
"""
171172
)
172-
result = pytester.runpytest("-Werror")
173+
result = pytester.runpytest()
173174
result.stdout.fnmatch_lines(["*== 1 passed in *"])
174175

175176

0 commit comments

Comments
 (0)