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

Function test_diff_in_seconds_positive_big

tests/time/test_diff.py:72–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70
71
72def test_diff_in_seconds_positive_big():
73 dt = Time(12, 34, 56)
74 assert dt.diff(dt.add(hours=2).add(seconds=2)).in_seconds() == 7202
75
76
77def test_diff_in_seconds_negative_with_sign():

Callers

nothing calls this directly

Calls 4

diffMethod · 0.95
addMethod · 0.95
TimeClass · 0.90
in_secondsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…