[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
c0245c7613
commit
2516392582
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue