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

Function test_farthest_with_equals

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

Source from the content-addressed store, hash-verified

170
171
172def test_farthest_with_equals():
173 instance = pendulum.time(12, 34, 56)
174 t1 = pendulum.time(12, 34, 56)
175 t2 = pendulum.time(12, 34, 59)
176
177 farthest = instance.farthest(t1, t2)
178 assert t2 == farthest
179
180
181def test_comparison_to_unsupported():

Callers

nothing calls this directly

Calls 2

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…