def test_parse_streaming_line_invalid_json(self):
        """Ensures that JSONDecodeError is raised for invalid JSON."""
        line = "data: invalid json"
        with pytest.raises(json.JSONDecodeError):
            self.base_client._parse_streaming_line(line)
Ensures that JSONDecodeError is raised for invalid JSON.
llama-index-integrations/llms/llama-index-llms-oci-data-science/tests/test_oci_data_science_client.py