Update testing.rst (#4046)
Without mocking the retry method of the task and actually setting Retry as side effect, raising an operational error within the task will not lead to a Retry exception but the original Exception to be thrown as the task is called directly.