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

Function test_naive_method

tests/datetime/test_naive.py:71–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69
70
71def test_naive_method():
72 dt = pendulum.datetime(2018, 2, 2, 12, 34, 56, 123456)
73 dt = dt.naive()
74
75 assert_datetime(dt, 2018, 2, 2, 12, 34, 56, 123456)
76 assert dt.tzinfo is None
77 assert dt.timezone is None
78 assert dt.timezone_name is None

Callers

nothing calls this directly

Calls 3

assert_datetimeFunction · 0.90
naiveMethod · 0.80
datetimeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…