code: def test_text_encoded(self):
      unicode_text = "你好"
  
      # Unicode integer-encoded by byte
      self.assertFeature(
          feature=features.Text(encoder=text_encoder.ByteTextEncoder()),
          shape=(None,),
          dtype=np.int64,
          tests=[
              testing.FeatureExpectationItem(
                  value=unicode_text,
                  expected=[
                      i + 1 for i in [228, 189, 160, 229, 165, 189]
                  ],
              ),
              # Empty string
              testing.FeatureExpectationItem(
                  value="",
                  expected=[],
              ),
          ],
          skip_feature_tests=True,
      )
  
file_path: datasets/tensorflow_datasets/core/features/text_feature_test.py
imports: import numpy
  import pytest
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import features
  from tensorflow_datasets.core.deprecated.text import text_encoder
label_desc: Use image node_id 2 for calling the TextFeatureTest obj's underlying member method code with example usage: obj.test_text_encoded() without return types