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

Function test_add_timedelta

tests/duration/test_add_sub.py:18–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16
17
18def test_add_timedelta():
19 p1 = pendulum.duration(days=23, seconds=32)
20 p2 = timedelta(days=12, seconds=30)
21
22 p = p1 + p2
23 assert_duration(p, 0, 0, 5, 0, 0, 1, 2)
24
25
26def test_add_unsupported():

Callers

nothing calls this directly

Calls 1

assert_durationFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…