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

Function test_end_of_week

tests/date/test_start_end_of.py:32–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30
31
32def test_end_of_week():
33 d = Date(2016, 10, 20)
34 new = d.end_of("week")
35 assert isinstance(new, Date)
36 assert_date(new, d.year, d.month, 23)
37
38
39def test_start_of_month_is_fluid():

Callers

nothing calls this directly

Calls 3

end_ofMethod · 0.95
DateClass · 0.90
assert_dateFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…