Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-pendulum/pendulum
/ test_in_weeks
Function
test_in_weeks
tests/duration/test_total_methods.py:6–8 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
4
5
6
def
test_in_weeks():
7
it = pendulum.duration(days=17)
8
assert round(it.total_weeks(), 2) == 2.43
9
10
11
def
test_in_days():
Callers
nothing calls this directly
Calls
1
total_weeks
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…