Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog/13480.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed a few test failures in pytest's own test suite when run with ``-Wdefault`` or a similar override.
2 changes: 1 addition & 1 deletion testing/test_threadexception.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def test_it(request):
"""
)

result = pytester.runpytest()
result = pytester.runpytest("-Werror")

# TODO: should be a test failure or error
assert result.ret == pytest.ExitCode.INTERNAL_ERROR
Expand Down
1 change: 1 addition & 0 deletions testing/test_warnings.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ def test_func(fix):
)


@pytest.mark.skip("issue #13485")
def test_works_with_filterwarnings(pytester: Pytester) -> None:
"""Ensure our warnings capture does not mess with pre-installed filters (#2430)."""
pytester.makepyfile(
Expand Down