Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/python-pendulum/pendulum
/ test_previous_saturday
Function
test_previous_saturday
tests/date/test_day_of_week_modifiers.py:73–75 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
71
72
73
def
test_previous_saturday():
74
d = pendulum.date(1975, 5, 21).previous(5)
75
assert_date(d, 1975, 5, 17)
76
77
78
def
test_previous_invalid():
Callers
nothing calls this directly
Calls
3
assert_date
Function · 0.90
date
Method · 0.80
previous
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…