Skip to content

Commit cd1ce97

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/_pytest/recwarn.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def warns(
9090
expected_warning: type[Warning] | tuple[type[Warning], ...] = ...,
9191
*,
9292
match: str | Pattern[str] | None = ...,
93-
keep_ignores: bool = ...
93+
keep_ignores: bool = ...,
9494
) -> WarningsChecker: ...
9595

9696

@@ -272,7 +272,7 @@ def __enter__(self) -> Self:
272272
action="always" if action != "ignore" else "ignore",
273273
category=category,
274274
lineno=lineno,
275-
**kw
275+
**kw,
276276
)
277277
else:
278278
warnings.simplefilter("always")

0 commit comments

Comments
 (0)