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

Function test_naive_in_timezone

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

Source from the content-addressed store, hash-verified

29
30
31def test_naive_in_timezone():
32 dt = pendulum.naive(2013, 3, 31, 1, 30)
33 new = dt.in_timezone("Europe/Paris")
34
35 assert_datetime(new, 2013, 3, 31, 1, 30)
36 assert new.timezone_name == "Europe/Paris"
37
38
39def test_naive_in_timezone_dst():

Callers

nothing calls this directly

Calls 3

assert_datetimeFunction · 0.90
naiveMethod · 0.80
in_timezoneMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…