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

Function test_end_of_month

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

Source from the content-addressed store, hash-verified

89
90
91def test_end_of_month():
92 d = Date(2000, 1, 1).end_of("month")
93 new = d.end_of("month")
94 assert_date(new, 2000, 1, 31)
95
96
97def test_end_of_month_from_last_day():

Callers

nothing calls this directly

Calls 3

DateClass · 0.90
assert_dateFunction · 0.90
end_ofMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…