code: def setUp(self):
      super(ExtractorTest, self).setUp()
      self.extractor = extractor._Extractor()
      self.extractor._pbar_path = mock.MagicMock()
      # Where archive will be extracted:
      self.to_path = os.path.join(self.tmp_dir, "extracted_arch")
      # Obviously it must not exist before test runs:
      self.assertFalse(tf.io.gfile.exists(self.to_path))
  
      self.result_path = os.path.join(self.to_path, "6pixels.png")
  
imports: import os
  from unittest import mock
  import tensorflow
  from tensorflow_datasets import testing
  from tensorflow_datasets.core.download import extractor
  from tensorflow_datasets.core.download import resource
label_desc: Use image node_id 2 for calling the ExtractorTest obj's underlying member method code with example usage: obj.setUp() without return types