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

Function test_utils_default_tz_info_aware

tests/test_utils.py:38–40  ·  view source on GitHub ↗
(NYC)

Source from the content-addressed store, hash-verified

36
37
38def test_utils_default_tz_info_aware(NYC):
39 dt = datetime(2014, 9, 14, 9, 30, tzinfo=UTC)
40 assert utils.default_tzinfo(dt, NYC).tzinfo is UTC
41
42
43def test_utils_within_delta():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected