Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 13, 2024
1 parent 9a953f4 commit 7581137
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testing/test_unraisableexception.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ def test_it():
result.assert_outcomes(passed=1)
result.stderr.fnmatch_lines("ValueError: del is broken")


@pytest.mark.filterwarnings("default::pytest.PytestUnraisableExceptionWarning")
def test_create_task_unraisable_warning_filter(pytester: Pytester) -> None:
# see: https://github.com/pytest-dev/pytest/issues/10404
Expand Down Expand Up @@ -268,6 +269,7 @@ def test_it():
result.assert_outcomes(passed=1)
result.stderr.fnmatch_lines("ValueError: del is broken")


@pytest.mark.filterwarnings("error::pytest.PytestUnraisableExceptionWarning")
def test_possibly_none_excinfo(pytester: Pytester) -> None:
pytester.makepyfile(
Expand Down

0 comments on commit 7581137

Please sign in to comment.