MCPcopy Create free account
hub / github.com/celery/celery / get_ei

Method get_ei

t/unit/worker/test_request.py:1230–1234  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1228 def test_on_failure_WorkerLostError(self):
1229
1230 def get_ei():
1231 try:
1232 raise WorkerLostError('do re mi')
1233 except WorkerLostError:
1234 return ExceptionInfo()
1235
1236 job = self.xRequest()
1237 exc_info = get_ei()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected