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

Function test_farthest_with_time

tests/time/test_comparison.py:163–169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161
162
163def test_farthest_with_time():
164 instance = pendulum.time(12, 34, 56)
165 t1 = pendulum.time(12, 34, 54)
166 t2 = pendulum.time(12, 34, 59)
167 farthest = instance.farthest(t1, t2)
168
169 assert_time(farthest, 12, 34, 59)
170
171
172def test_farthest_with_equals():

Callers

nothing calls this directly

Calls 3

assert_timeFunction · 0.90
timeMethod · 0.80
farthestMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…