Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/python-pendulum/pendulum
/ test_subseconds_with_seconds
Function
test_subseconds_with_seconds
tests/duration/test_in_words.py:68–70 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
66
67
68
def
test_subseconds_with_seconds():
69
pi = pendulum.duration(seconds=12, microseconds=123456)
70
assert pi.in_words() ==
"12 seconds"
71
72
73
def
test_duration_with_all_zero_values():
Callers
nothing calls this directly
Calls
1
in_words
Method · 0.45
Tested by
no test coverage detected