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

Function test_average_from_greater

tests/date/test_start_end_of.py:229–232  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

227
228
229def test_average_from_greater():
230 d1 = pendulum.date(2000, 1, 1)
231 d2 = pendulum.date(2009, 12, 31).average(d1)
232 assert_date(d2, 2004, 12, 31)
233
234
235def test_average_from_lower():

Callers

nothing calls this directly

Calls 3

assert_dateFunction · 0.90
dateMethod · 0.80
averageMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…