Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save teardown exceptions for further teardowns #13002

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
pre-commit-ci[bot] committed Nov 28, 2024
commit 9abac4d77e1072cea1fd8e0c8deb815720907dea
1 change: 1 addition & 0 deletions testing/acceptance_test.py
Original file line number Diff line number Diff line change
@@ -1585,6 +1585,7 @@ def test_no_terminal_plugin(pytester: Pytester) -> None:
result = pytester.runpytest("-pno:terminal", "-s")
assert result.ret == ExitCode.TESTS_FAILED


def test_get_exception_on_teardown_failure(pytester: Pytester) -> None:
"""Smoke test to be sure teardown exceptions handled properly via node property"""
pytester.makepyfile(
Loading