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/datetime/test_day_of_week_modifiers.py:64–68 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
62
63
64
def
test_next_invalid():
65
dt = pendulum.datetime(1975, 5, 21, 12)
66
67
with
pytest.raises(ValueError):
68
dt.next(7)
69
70
71
def
test_previous():
Callers
nothing calls this directly
Calls
2
datetime
Method · 0.45
next
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…