Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/celery/celery
/ utcoffset
Method
utcoffset
t/unit/utils/test_time.py:266–267 ·
view source on GitHub ↗
(self, dt)
Source
from the content-addressed store, hash-verified
264
class
tzz(tzinfo):
265
266
def
utcoffset(self, dt):
267
return
None
# Mock no utcoffset specified
268
269
tz = tzz()
270
assert localize(make_aware(datetime.now(_timezone.utc), tz), tz)
Callers
4
test_parse_with_timezone
Method · 0.45
test_localize_aware_dt_idempotent
Method · 0.45
test_day_after_dst_end
Method · 0.45
test_day_after_dst_start
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected