code: def test_gzip(self, setup_gzip_files):
      tokenizer, trainer = self.get_tokenizer_trainer()
  
      # START single_gzip
      import gzip
  
      with gzip.open("data/my-file.0.gz", "rt") as f:
          tokenizer.train_from_iterator(f, trainer=trainer)
      # END single_gzip
      # START multi_gzip
      files = [
          "data/my-file.0.gz",
          "data/my-file.1.gz",
          "data/my-file.2.gz",
      ]
  
      def gzip_iterator():
          for path in files:
              with gzip.open(path, "rt") as f:
                  for line in f:
                      yield line
  
      tokenizer.train_from_iterator(gzip_iterator(), trainer=trainer)
  
file_path: hf-tokenizers/bindings/python/tests/documentation/test_tutorial_train_from_iterators.py
imports: import gzip
  import os
  import datasets
  import pytest
  from ..utils import data_dir, train_files
label_desc: Use image node_id 6 for calling the TestTrainFromIterators obj's underlying member method code with example usage: obj.test_gzip(setup_gzip_files) without return types