Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/python-pendulum/pendulum
/ test_weeks_and_day
Function
test_weeks_and_day
tests/duration/test_in_words.py:16–17 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
14
15
16
def
test_weeks_and_day():
17
assert pendulum.duration(days=365).in_words() ==
"52 weeks 1 day"
18
19
20
def
test_all():
Callers
nothing calls this directly
Calls
1
in_words
Method · 0.45
Tested by
no test coverage detected