code: def test_label(self):
      self.assertFeature(
          feature=feature_lib.Sequence(
              feature_lib.ClassLabel(names=["left", "right"]),
          ),
          shape=(None,),
          dtype=np.int64,
          tests=[
              testing.FeatureExpectationItem(
                  value=["right", "left", "left"],
                  expected=[1, 0, 0],
                  expected_np=[1, 0, 0],
              ),
              # Variable sequence length
              testing.FeatureExpectationItem(
                  value=["right", "left", "right", "left"],
                  expected=[1, 0, 1, 0],
                  expected_np=[1, 0, 1, 0],
              ),
              # Empty sequence length
              testing.FeatureExpectationItem(
                  value=[],
                  expected=[],
                  expected_np=[],
              ),
          ],
      )
  
imports: import numpy
  import tensorflow
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import features
label_desc: Use image node_id 2 for calling the SequenceFeatureTest obj's underlying member method code with example usage: obj.test_label() without return types