code: def test_translation_variable_languages_list(self):
      self.assertFeature(
          feature=features.TranslationVariableLanguages(
              languages=["en", "de", "zh"]
          ),
          shape={"language": (None,), "translation": (None,)},
          dtype={"language": tf.string, "translation": tf.string},
          tests=[
              testing.FeatureExpectationItem(
                  value={"en": EN_HELLO, "zh": ZH_HELLO},
                  expected={
                      "language": [EN_B, ZH_B],
                      "translation": [
                          tf.compat.as_bytes(EN_HELLO),
                          tf.compat.as_bytes(ZH_HELLO),
                      ],
                  },
              ),
              testing.FeatureExpectationItem(
                  value={
                      "fr": FR_HELLO,
                      "de": DE_HELLO,
                      "zh": ZH_HELLO,
                  },
                  raise_cls=ValueError,
                  raise_msg=(
                      "Some languages in example (fr) are not in valid set "
                      "(de, en, zh)"
                  ),
              ),
          ],
          test_attributes=dict(languages=sorted(["en", "de", "zh"])),
      )
  
file_path: datasets/tensorflow_datasets/core/features/translation_feature_test.py
imports: import tensorflow
  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 TranslationVariableLanguagesFeatureTest obj's underlying member method code with example usage: obj.test_translation_variable_languages_list() without return types