Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/python-pendulum/pendulum
/ test_previous_invalid
Function
test_previous_invalid
tests/date/test_day_of_week_modifiers.py:78–82 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
76
77
78
def
test_previous_invalid():
79
dt = pendulum.date(1975, 5, 21)
80
81
with
pytest.raises(ValueError):
82
dt.previous(7)
83
84
85
def
test_first_day_of_month():
Callers
nothing calls this directly
Calls
2
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…