MCPcopy
hub / github.com/celery/celery / test_get_timezone_with_zoneinfo

Method test_get_timezone_with_zoneinfo

t/unit/utils/test_time.py:218–219  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

216class test_timezone:
217
218 def test_get_timezone_with_zoneinfo(self):
219 assert timezone.get_timezone('UTC')
220
221 def test_tz_or_local(self):
222 assert timezone.tz_or_local() == timezone.local

Callers

nothing calls this directly

Calls 1

get_timezoneMethod · 0.80

Tested by

no test coverage detected