code: def test_from_shape_proto_single_zero_dimension():
      shape_proto = feature_pb2.Shape(dimensions=[0])
      assert [0] == feature.from_shape_proto(shape_proto)
  
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 6 for calling a global function with example usage: test_from_shape_proto_single_zero_dimension() without return types