MCPcopy Index your code
hub / github.com/python-pendulum/pendulum / test_week_starts_at

Function test_week_starts_at

tests/test_helpers.py:163–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161
162
163def test_week_starts_at() -> None:
164 pendulum.week_starts_at(pendulum.SATURDAY)
165
166 dt = pendulum.now().start_of("week")
167 assert dt.day_of_week == pendulum.SATURDAY
168 assert dt.date().day_of_week == pendulum.SATURDAY
169
170
171def test_week_starts_at_invalid_value() -> None:

Callers

nothing calls this directly

Calls 3

nowMethod · 0.80
dateMethod · 0.80
start_ofMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…