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

Function test_diff_in_days_positive

tests/date/test_diff.py:64–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62
63
64def test_diff_in_days_positive():
65 dt = pendulum.date(2000, 1, 1)
66 assert dt.diff(dt.add(years=1)).in_days() == 366
67
68
69def test_diff_in_days_negative_with_sign():

Callers

nothing calls this directly

Calls 4

dateMethod · 0.80
in_daysMethod · 0.45
diffMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…