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

Function test_week_ends_at

tests/test_helpers.py:179–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

177
178
179def test_week_ends_at() -> None:
180 pendulum.week_ends_at(pendulum.SATURDAY)
181
182 dt = pendulum.now().end_of("week")
183 assert dt.day_of_week == pendulum.SATURDAY
184 assert dt.date().day_of_week == pendulum.SATURDAY
185
186
187def test_week_ends_at_invalid_value() -> None:

Callers

nothing calls this directly

Calls 3

nowMethod · 0.80
dateMethod · 0.80
end_ofMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…