def METHOD_NAME(self, mock_time: MockTime):
    backoff = mock.Mock(
        spec=retry.Backoff,
        next_sleep_or_reraise=mock.Mock(return_value=1 * SECOND),
    )
    excs = [MyError("one"), MyError("two")]
    fn_sync = mock.Mock(
        side_effect=[
            *excs,
            lambda: None,
        ],
    )
    async def fn():
        return fn_sync()
    on_exc = mock.Mock()
    asyncio_run(retry.retry_async(backoff, fn, on_exc=on_exc))
    on_exc.assert_has_calls(
        [
            mock.call(excs[0]),
            mock.call(excs[1]),
        ]
    )