Skip to content

Commit 2cb6572

Browse files
committed
Fix typing for StepReport args
1 parent 55db005 commit 2cb6572

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pytest_bdd/reporting.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
class StepReport:
2929
"""Step execution report."""
3030

31-
failed = False
32-
stopped = None
31+
failed: bool = False
32+
stopped: float | None = None
3333

3434
def __init__(self, step: Step) -> None:
3535
"""Step report constructor.

0 commit comments

Comments
 (0)