Skip to content

Commit 4c947b3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2063856 commit 4c947b3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

testing/python/raises_group.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1372,9 +1372,7 @@ def test_stale_loop_variable_in_error_message() -> None:
13721372
# expected (index 0) would use results from the last expected (index 2)
13731373
# instead of its own, potentially showing incorrect "It matches" lines.
13741374
with pytest.raises(Failed) as exc_info:
1375-
with RaisesGroup(
1376-
RaisesExc(ValueError, match="foo"), TypeError, RuntimeError
1377-
):
1375+
with RaisesGroup(RaisesExc(ValueError, match="foo"), TypeError, RuntimeError):
13781376
raise ExceptionGroup(
13791377
"",
13801378
[ValueError("bar"), TypeError(), KeyError()],

0 commit comments

Comments
 (0)