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

Function test_utils_today_tz_info

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

Source from the content-addressed store, hash-verified

22
23@freeze_time(datetime(2014, 12, 15, 12), tz_offset=5)
24def test_utils_today_tz_info(NYC):
25 assert utils.today(NYC) == datetime(2014, 12, 15, 0, 0, 0, tzinfo=NYC)
26
27
28@freeze_time(datetime(2014, 12, 15, 23), tz_offset=5)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected