Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
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
91
def
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
97
def
test_end_of_month_from_last_day():
Callers
nothing calls this directly
Calls
3
Date
Class · 0.90
assert_date
Function · 0.90
end_of
Method · 0.45
Tested by
no test coverage detected