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

Function test_add_interval

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

Source from the content-addressed store, hash-verified

8
9
10def test_add_interval():
11 p1 = pendulum.duration(days=23, seconds=32)
12 p2 = pendulum.duration(days=12, seconds=30)
13
14 p = p1 + p2
15 assert_duration(p, 0, 0, 5, 0, 0, 1, 2)
16
17
18def test_add_timedelta():

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…