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

Function test_diff_in_seconds_positive

tests/datetime/test_diff.py:165–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

163
164
165def test_diff_in_seconds_positive():
166 dt = pendulum.datetime(2000, 1, 1)
167 assert dt.diff(dt.add(minutes=1).add(seconds=2)).in_seconds() == 62
168
169
170def test_diff_in_seconds_positive_big():

Callers

nothing calls this directly

Calls 4

in_secondsMethod · 0.80
datetimeMethod · 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…