code: def test_tensor_feature_backward_compatibility():
      registered = features_lib.FeatureConnector._registered_features
      cls = features_lib.Tensor
      module_base = "tensorflow_datasets.core.features."
      # Both aliases are registered
      assert registered[module_base + "tensor_feature.Tensor"] is cls
      assert registered[module_base + "feature.Tensor"] is cls
  
imports: import pathlib
  import sys
  import textwrap
  from unittest import mock
  from absl import logging
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import features
label_desc: Use image node_id 2 for calling a global function with example usage: test_tensor_feature_backward_compatibility() without return types