Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/celery/celery
/ test_when_datetime
Method
test_when_datetime
t/unit/app/test_exceptions.py:9–11 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
7
class
test_Retry:
8
9
def
test_when_datetime(self):
10
x = Retry(
'foo'
, KeyError(), when=datetime.now(timezone.utc))
11
assert x.humanize()
12
13
def
test_pickleable(self):
14
x = Retry(
'foo'
, KeyError(), when=datetime.now(timezone.utc))
Callers
nothing calls this directly
Calls
3
humanize
Method · 0.95
Retry
Class · 0.90
now
Method · 0.45
Tested by
no test coverage detected