MCPcopy
hub / github.com/celery/celery / raises

Method raises

t/unit/backends/test_database.py:133–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131
132 @retry
133 def raises():
134 calls[0] += 1
135 raise DatabaseError(1, 2, 3)
136
137 with pytest.raises(DatabaseError):
138 raises(max_retries=5)

Calls

no outgoing calls

Tested by

no test coverage detected