MCPcopy Index your code
hub / github.com/python-pendulum/pendulum / test_init_with_missing_values

Function test_init_with_missing_values

tests/time/test_construct.py:14–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13
14def test_init_with_missing_values():
15 t = pendulum.time(12, 34, 56)
16 assert_time(t, 12, 34, 56, 0)
17
18 t = pendulum.time(12, 34)
19 assert_time(t, 12, 34, 0, 0)
20
21 t = pendulum.time(12)
22 assert_time(t, 12, 0, 0, 0)

Callers

nothing calls this directly

Calls 2

assert_timeFunction · 0.90
timeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…