code: def test_image_with_invalid_dtype(dtype):
      image = [
          [[1], [1], [1], [1], [1]],
          [[1], [1], [1], [1], [1]],
          [[0], [1], [0], [1], [0]],
          [[1], [0], [1], [0], [1]],
          [[0], [1], [0], [1], [0]],
      ]
      image = tf.constant(image, dtype=tf.uint8)
  
      with pytest.raises(
          TypeError, match="`dtype` must be float16, float32 or float64"
      ):
          _ = dist_ops.euclidean_dist_transform(image, dtype=dtype)
  
file_path: addons/tensorflow_addons/image/tests/distance_transform_test.py
imports: import pytest
  import numpy
  import tensorflow
  from tensorflow_addons.image import distance_transform
  from tensorflow_addons.utils import test_utils
label_desc: Use image node_id 3 for calling a global function with example usage: test_image_with_invalid_dtype(dtype) without return types