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

Function test_naive_in_timezone_dst

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

Source from the content-addressed store, hash-verified

37
38
39def test_naive_in_timezone_dst():
40 dt = pendulum.naive(2013, 3, 31, 2, 30)
41 new = dt.in_timezone("Europe/Paris")
42
43 assert_datetime(new, 2013, 3, 31, 3, 30)
44 assert new.timezone_name == "Europe/Paris"
45
46
47def test_add():

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…