def test_other_exception(self):
        """Ensures it returns False for other exceptions."""
        original_exception = Exception("Some other error")
        exception = ExtendedRequestException(
            "Message", original_exception, "Response text"
        )

        result = _should_retry_exception(exception)
        assert result is False
Ensures it returns False for other exceptions.
llama-index-integrations/llms/llama-index-llms-oci-data-science/tests/test_oci_data_science_client.py