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

Function test_sub_interval

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

Source from the content-addressed store, hash-verified

29
30
31def test_sub_interval():
32 p1 = pendulum.duration(days=23, seconds=32)
33 p2 = pendulum.duration(days=12, seconds=28)
34
35 p = p1 - p2
36 assert_duration(p, 0, 0, 1, 4, 0, 0, 4)
37
38
39def test_sub_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…