Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/python-pendulum/pendulum
/ test_end_of_day
Function
test_end_of_day
tests/date/test_start_end_of.py:18–22 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
16
17
18
def
test_end_of_day():
19
d = Date.today()
20
new = d.end_of(
"day"
)
21
assert isinstance(new, Date)
22
assert_date(new, d.year, d.month, d.day)
23
24
25
def
test_start_of_week():
Callers
nothing calls this directly
Calls
3
assert_date
Function · 0.90
today
Method · 0.45
end_of
Method · 0.45
Tested by
no test coverage detected