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

Function test_proper_dst

tests/datetime/test_behavior.py:148–152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146
147
148def test_proper_dst():
149 dt = pendulum.datetime(1941, 7, 1, tz="Europe/Amsterdam")
150 native_dt = datetime(1941, 7, 1, tzinfo=zoneinfo.ZoneInfo("Europe/Amsterdam"))
151
152 assert dt.dst() == native_dt.dst()
153
154
155def test_deepcopy():

Callers

nothing calls this directly

Calls 3

datetimeFunction · 0.85
dstMethod · 0.80
datetimeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…