def METHOD_NAME(self):
    wrapped = mock.Mock(spec=retry.Backoff)
    filtered = retry.FilteredBackoff(
        filter=lambda e: False,
        wrapped=wrapped,
    )
    with pytest.raises(MyError):
        filtered.next_sleep_or_reraise(MyError("don't retry me"))
    wrapped.next_sleep_or_reraise.assert_not_called()