Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-pendulum/pendulum
/ test_tzinfo
Function
test_tzinfo
tests/datetime/test_getters.py:53–55 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
51
52
53
def
test_tzinfo():
54
d = pendulum.now()
55
assert d.tzinfo.name == timezone(
"America/Toronto"
).name
56
57
58
def
test_day_of_week():
Callers
nothing calls this directly
Calls
2
timezone
Function · 0.90
now
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…