Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-pendulum/pendulum
/ test_defaults
Function
test_defaults
tests/duration/test_construct.py:13–15 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
11
12
13
def
test_defaults():
14
pi = pendulum.duration()
15
assert_duration(pi, 0, 0, 0, 0, 0, 0, 0)
16
17
18
def
test_years():
Callers
nothing calls this directly
Calls
1
assert_duration
Function · 0.90
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…