MCPcopy
hub / github.com/celery/celery / test_retry_semipredicate

Method test_retry_semipredicate

t/unit/worker/test_request.py:104–109  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

102class test_Retry:
103
104 def test_retry_semipredicate(self):
105 try:
106 raise Exception('foo')
107 except Exception as exc:
108 ret = Retry('Retrying task', exc)
109 assert ret.exc == exc
110
111
112class test_trace_task(RequestCase):

Callers

nothing calls this directly

Calls 1

RetryClass · 0.90

Tested by

no test coverage detected