code: def test_bzip2(self):
      from_path = os.path.join(
          self.test_data, "archives", "foo.csv.bz2"
      )
      self.extractor.extract(from_path, BZIP2, self.to_path).get()
      foo_csv_path = os.path.join(self.test_data, "foo.csv")
      self.assertEqual(_read(self.to_path), _read(foo_csv_path))
  
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 12 for calling the ExtractorTest obj's underlying member method code with example usage: obj.test_bzip2() without return types