Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
68
def
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
75
def
test_yesterday():
Callers
nothing calls this directly
Calls
4
now
Method · 0.80
start_of
Method · 0.45
in_days
Method · 0.45
diff
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…