Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
71
def
test_previous():
72
d = pendulum.datetime(1975, 5, 21).previous()
73
assert_datetime(d, 1975, 5, 14, 0, 0, 0)
74
75
76
def
test_previous_monday():
Callers
nothing calls this directly
Calls
3
assert_datetime
Function · 0.90
previous
Method · 0.45
datetime
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…