code: def tearDown(self):
      # remove all temporary test files
      fname = get_tmpfile("script.tst")
      extensions = ["", ".json"]
      for ext in extensions:
          try:
              os.remove(fname + ext)
          except OSError:
              pass
  
imports: from __future__ import unicode_literals
  import json
  import logging
  import os.path
  import unittest
  import numpy
  from gensim import utils
  from gensim.scripts.segment_wiki import segment_all_articles, segment_and_write_all_articles
  from gensim.test.utils import datapath, get_tmpfile
  from gensim.scripts.word2vec2tensor import word2vec2tensor
  from gensim.models import KeyedVectors
label_desc: Use image node_id 2 for calling the TestSegmentWiki obj's underlying member method code with example usage: obj.tearDown() without return types