code: def test_generate_xtreme_pos_example():
      tf_mock = mock.Mock()
      tf_mock.gfile.GFile.return_value = _VALID_INPUT
      expected_examples = []
  
      dataset = DummyXtremePosConllUDataset()
  
      with tfds.testing.MockFs() as fs:
          fs.add_file(path=_INPUT_PATH, content=_VALID_INPUT)
          examples = list(dataset._generate_examples(_INPUT_PATH))
          expected_examples = [
              (
                  0,
                  {
                      "tokens": ["Il", "futuro", "."],
                      "upos": ["DET", "NOUN", "PUNCT"],
                  },
              ),
              (
                  1,
                  {
                      "tokens": [
                          "il",
                          "responsabile",
                          "dell'",
                          "di",
                          "l'",
                          "ambiente",
                      ],
                      "upos": [
                          "DET",
                          "NOUN",
                          "_",
                          "ADP",
                          "DET",
                          "NOUN",
                      ],
                  },
              ),
          ]
  
          assert examples == expected_examples
  
          for _, example in examples:
              assert len(example) == len(conllu_lib.XTREME_POS_FEATURES)
  
      assert len(examples) == 2
  
imports: import textwrap
  from unittest import mock
  from etils import epath
  import pytest
  from tensorflow_datasets.core import lazy_imports_lib
  from tensorflow_datasets.core.dataset_builders.conll import conllu_dataset_builder
  from tensorflow_datasets.core.dataset_builders.conll import conllu_dataset_builder_utils
  import tensorflow_datasets.public_api
label_desc: Use image node_id 3 for calling a global function with example usage: test_generate_xtreme_pos_example() without return types