From 25163925821e7f45fb3a5ecda6dbbb79a5616255 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 18 Jul 2023 09:37:48 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- testing/code/test_excinfo.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/testing/code/test_excinfo.py b/testing/code/test_excinfo.py index 6663f2d73..bd72c9ccf 100644 --- a/testing/code/test_excinfo.py +++ b/testing/code/test_excinfo.py @@ -1667,7 +1667,9 @@ def add_note(err: BaseException, msg: str) -> None: (AssertionError("foo"), ["bar", "baz"], "baz"), ], ) -def test_check_error_notes_success(error: Exception, notes: list[str], match: str) -> None: +def test_check_error_notes_success( + error: Exception, notes: list[str], match: str +) -> None: for note in notes: add_note(error, note) @@ -1683,7 +1685,9 @@ def test_check_error_notes_success(error: Exception, notes: list[str], match: st (AssertionError("foo"), ["bar"], "foo\nbaz"), ], ) -def test_check_error_notes_failure(error: Exception, notes: list[str], match: str) -> None: +def test_check_error_notes_failure( + error: Exception, notes: list[str], match: str +) -> None: for note in notes: add_note(error, note)