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

Function test_average_from_same

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

Source from the content-addressed store, hash-verified

242
243
244def test_average_from_same():
245 d1 = pendulum.datetime(2000, 1, 31, 2, 3, 4)
246 d2 = pendulum.datetime(2000, 1, 31, 2, 3, 4).average(d1)
247 assert_datetime(d2, 2000, 1, 31, 2, 3, 4)
248
249
250def test_average_from_greater():

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…