Code
Hub
Trending
Following
Digest
Agents
Workspaces
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/python-pendulum/pendulum
/ test_instance_with_naive_time
Function
test_instance_with_naive_time
tests/test_main.py:45–48 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
43
44
45
def
test_instance_with_naive_time() -> None:
46
dt = pendulum.instance(time(12, 34, 56, 123456))
47
48
assert isinstance(dt, pendulum.Time)
49
50
51
def
test_instance_with_aware_time() -> None:
Callers
nothing calls this directly
Calls
2
time
Function · 0.85
instance
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…