MCPcopy 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
56def test_next_invalid():
57 dt = pendulum.date(1975, 5, 21)
58
59 with pytest.raises(ValueError):
60 dt.next(7)
61
62
63def test_previous():

Callers

nothing calls this directly

Calls 2

dateMethod · 0.80
nextMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…