Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/python-pendulum/pendulum
/ test_next_invalid
Function
test_next_invalid
tests/date/test_day_of_week_modifiers.py:56–60 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
54
55
56
def
test_next_invalid():
57
dt = pendulum.date(1975, 5, 21)
58
59
with
pytest.raises(ValueError):
60
dt.next(7)
61
62
63
def
test_previous():
Callers
nothing calls this directly
Calls
2
date
Method · 0.80
next
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…