MCPcopy 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
39def test_instance_with_date() -> None:
40 dt = pendulum.instance(date(2022, 12, 23))
41
42 assert isinstance(dt, pendulum.Date)
43
44
45def test_instance_with_naive_time() -> None:

Callers

nothing calls this directly

Calls 2

dateFunction · 0.85
instanceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…