code: def test_shapes_are_compatible():
      assert tf_utils.shapes_are_compatible(
          {"a": {"b": (28, 28, 3)}},
          {"a": {"b": (None, None, 3)}},
      )
      assert not tf_utils.shapes_are_compatible(
          {"a": {"b": (28, 28, 3)}},
          {"a": {"b": (None, 27, 3)}},
      )
  
file_path: datasets/tensorflow_datasets/core/utils/tf_utils_test.py
imports: import numpy
  import pytest
  import tensorflow
  from tensorflow_datasets import testing
  from tensorflow_datasets.core.utils import tf_utils
label_desc: Use image node_id 1 for calling a global function with example usage: test_shapes_are_compatible() without return types