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

Function test_start_of_day

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

Source from the content-addressed store, hash-verified

9
10
11def test_start_of_day():
12 d = Date.today()
13 new = d.start_of("day")
14 assert isinstance(new, Date)
15 assert_date(new, d.year, d.month, d.day)
16
17
18def test_end_of_day():

Callers

nothing calls this directly

Calls 3

assert_dateFunction · 0.90
todayMethod · 0.45
start_ofMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…