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

Function test_naive

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

Source from the content-addressed store, hash-verified

6
7
8def test_naive():
9 dt = pendulum.naive(2018, 2, 2, 12, 34, 56, 123456)
10
11 assert_datetime(dt, 2018, 2, 2, 12, 34, 56, 123456)
12 assert dt.tzinfo is None
13 assert dt.timezone is None
14 assert dt.timezone_name is None
15
16
17def test_naive_add():

Callers

nothing calls this directly

Calls 2

assert_datetimeFunction · 0.90
naiveMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…