class_docstr: Tests FeatureExpectations with full encode-decode.
code: def _run_tests(
      self,
      serialize_fdict,
      deserialize_fdict,
      feature,
      shape,
      dtype,
      tests,
      test_tensor_spec=True,
  ):
      for i, test in enumerate(tests):
          with self._subTest(str(i)):
              self.assertFeatureTest(
                  serialize_fdict=serialize_fdict,
                  deserialize_fdict=deserialize_fdict,
                  test=test,
                  feature=feature,
                  shape=shape,
                  dtype=dtype,
                  test_tensor_spec=test_tensor_spec,
              )
  
imports: import contextlib
  import dataclasses
  import functools
  from typing import Any, Optional, Type
  import dill
  from etils import enp
  import numpy
  from tensorflow_datasets.core import dataset_utils
  from tensorflow_datasets.core import features
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.data_sources import python
  from tensorflow_datasets.core.features import feature
  from tensorflow_datasets.core.utils import tree_utils
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  from tensorflow_datasets.testing import test_case
  from tensorflow_datasets.testing import test_utils
label_desc: Use image node_id 4 for calling the FeatureExpectationsTestCase obj's underlying member method code with example usage: obj._run_tests(serialize_fdict, deserialize_fdict, feature, shape, dtype, tests, test_tensor_spec) without return types