code: def test_read_local(self):
      local_set = TextSet.read(self.path)
      assert local_set.is_local()
      assert not local_set.get_word_index()  # should be None
      assert len(local_set.get_texts()) == 3
      assert local_set.get_labels() == [0, 0, 1]
      assert local_set.get_samples() == [None, None, None]
      assert local_set.get_predicts() == [
          (uri, None) for uri in local_set.get_uris()
      ]
  
imports: import pytest
  import shutil
  from bigdl.optim.optimizer import SGD
  from zoo.feature.common import ChainedPreprocessing, Relations
  from zoo.feature.text import *
  from zoo.common.nncontext import *
  from zoo.models.textclassification import TextClassifier
  from zoo.models.textmatching import KNRM
  from zoo.pipeline.api.keras.models import Sequential
  from zoo.pipeline.api.keras.layers import TimeDistributed
  from zoo.pipeline.api.keras.objectives import SparseCategoricalCrossEntropy
label_desc: Use image node_id 7 for calling the TestTextSet obj's underlying member method code with example usage: obj.test_read_local() without return types