MCPcopy Index your code
hub / github.com/python-pendulum/pendulum / test_months

Function test_months

tests/duration/test_construct.py:25–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23
24
25def test_months():
26 pi = pendulum.duration(months=3)
27 assert_duration(pi, months=3, weeks=0)
28 assert pi.days == 90
29 assert pi.total_seconds() == 7776000
30
31
32def test_weeks():

Callers

nothing calls this directly

Calls 2

assert_durationFunction · 0.90
total_secondsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…