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

Function test_diff_in_minutes_positive

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

Source from the content-addressed store, hash-verified

33
34
35def test_diff_in_minutes_positive():
36 dt = Time(12, 34, 56)
37 assert dt.diff(dt.add(hours=1).add(minutes=2)).in_minutes() == 62
38
39
40def test_diff_in_minutes_positive_big():

Callers

nothing calls this directly

Calls 4

diffMethod · 0.95
addMethod · 0.95
TimeClass · 0.90
in_minutesMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…