code: def test_log_image_raises_exception_for_unsupported_image_object_type():
      with mlflow.start_run(), pytest.raises(
          TypeError, match="Unsupported image object type"
      ):
          mlflow.log_image("not_image", "image.png")
  
file_path: mlflow/tests/tracking/test_log_image.py
imports: import os
  import posixpath
  from unittest import mock
  import pytest
  import mlflow
  from mlflow.utils.file_utils import local_file_uri_to_path
label_desc: Use image node_id 9 for calling a global function with example usage: test_log_image_raises_exception_for_unsupported_image_object_type() without return types