Skip to content

Commit

Permalink
Update testing/test_terminal.py
Browse files Browse the repository at this point in the history
Co-authored-by: Bruno Oliveira <[email protected]>
  • Loading branch information
afcmrp and nicoddemus authored Jan 17, 2025
1 parent 70bac53 commit 5e1721c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/test_terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -2629,7 +2629,7 @@ def test_format_session_duration(seconds, expected):
(0.000001236, "1.236us"),
],
)
def test_format_node_duration(seconds, expected):
def test_format_node_duration(seconds: float, expected: str) -> None:
from _pytest.terminal import format_node_duration

assert format_node_duration(seconds) == expected
Expand Down

0 comments on commit 5e1721c

Please sign in to comment.