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

Function test_diff_in_minutes_positive

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

Source from the content-addressed store, hash-verified

133
134
135def test_diff_in_minutes_positive():
136 dt = pendulum.datetime(2000, 1, 1)
137 assert dt.diff(dt.add(hours=1).add(minutes=2)).in_minutes() == 62
138
139
140def test_diff_in_minutes_positive_big():

Callers

nothing calls this directly

Calls 4

in_minutesMethod · 0.80
datetimeMethod · 0.45
diffMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected