MCPcopy Create free account
hub / github.com/dateutil/dateutil / test_time_fixed_offset

Function test_time_fixed_offset

tests/test_tzfile.py:723–728  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

721
722
723def test_time_fixed_offset():
724 utc = tz.gettz("UTC")
725 assert isinstance(utc, tz.tzfile)
726
727 t = time(11, 1, tzinfo=utc)
728 assert t.utcoffset() == ZERO
729
730
731def test_time_varying_offset():

Callers

nothing calls this directly

Calls 2

gettzMethod · 0.45
utcoffsetMethod · 0.45

Tested by

no test coverage detected