code: def test_tensor_info_tensor_shape_with_none(dtype):
      tensor_shape = tf.TensorShape([None, None, 3])
      tensor_info = feature.TensorInfo(shape=tensor_shape, dtype=dtype)
      assert tensor_info.shape == (None, None, 3)
      assert tensor_info.to_tensor_spec() == tf.TensorSpec(
          shape=tensor_shape, dtype=np.int64
      )
  
imports: import numpy
  import pytest
  import tensorflow
  from tensorflow_datasets.core.features import feature
  from tensorflow_datasets.core.features import image_feature
  from tensorflow_datasets.core.proto import feature_pb2
label_desc: Use image node_id 15 for calling a global function with example usage: test_tensor_info_tensor_shape_with_none(dtype) without return types