code: def test_log_image_numpy_raises_exception_for_invalid_channel_length():
      import numpy as np
  
      with mlflow.start_run(), pytest.raises(
          ValueError, match="Invalid channel length"
      ):
          mlflow.log_image(
              np.zeros((1, 1, 5), dtype=np.uint8), "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 8 for calling a global function with example usage: test_log_image_numpy_raises_exception_for_invalid_channel_length() without return types