Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apify/crawlee-python
/ test_format_duration
Function
test_format_duration
tests/unit/_utils/test_time.py:29–30 ·
view source on GitHub ↗
(duration: timedelta | None, expected: str)
Source
from the content-addressed store, hash-verified
27
],
28
)
29
def
test_format_duration(duration: timedelta | None, expected: str) -> None:
30
assert format_duration(duration) == expected
Callers
nothing calls this directly
Calls
1
format_duration
Function · 0.90
Tested by
no test coverage detected