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

Function test_previous

tests/datetime/test_day_of_week_modifiers.py:71–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69
70
71def test_previous():
72 d = pendulum.datetime(1975, 5, 21).previous()
73 assert_datetime(d, 1975, 5, 14, 0, 0, 0)
74
75
76def test_previous_monday():

Callers

nothing calls this directly

Calls 3

assert_datetimeFunction · 0.90
previousMethod · 0.45
datetimeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…