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

Function test_tomorrow

tests/datetime/test_construct.py:68–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66
67
68def test_tomorrow():
69 now = pendulum.now().start_of("day")
70 tomorrow = pendulum.tomorrow()
71 assert isinstance(tomorrow, DateTime)
72 assert now.diff(tomorrow).in_days() == 1
73
74
75def test_yesterday():

Callers

nothing calls this directly

Calls 4

nowMethod · 0.80
start_ofMethod · 0.45
in_daysMethod · 0.45
diffMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…