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

Function test_average_from_greater

tests/datetime/test_start_end_of.py:250–253  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

248
249
250def test_average_from_greater():
251 d1 = pendulum.datetime(2000, 1, 1, 1, 1, 1, tz="local")
252 d2 = pendulum.datetime(2009, 12, 31, 23, 59, 59, tz="local").average(d1)
253 assert_datetime(d2, 2004, 12, 31, 12, 30, 30)
254
255
256def test_average_from_lower():

Callers

nothing calls this directly

Calls 3

assert_datetimeFunction · 0.90
datetimeMethod · 0.45
averageMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…