def test_http_request_error(self):
        """Ensures it returns True for RequestError."""
        original_exception = httpx.RequestError("Error")
        exception = ExtendedRequestException(
            "Message", original_exception, "Response text"
        )

        result = _should_retry_exception(exception)
        assert result is True
Ensures it returns True for RequestError.
llama-index-integrations/embeddings/llama-index-embeddings-oci-data-science/tests/test_oci_data_science_client.py