Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/python-pendulum/pendulum
/ test_instance_with_date
Function
test_instance_with_date
tests/test_main.py:39–42 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
37
38
39
def
test_instance_with_date() -> None:
40
dt = pendulum.instance(date(2022, 12, 23))
41
42
assert isinstance(dt, pendulum.Date)
43
44
45
def
test_instance_with_naive_time() -> None:
Callers
nothing calls this directly
Calls
2
date
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…