code: def tearDown(self):
      super(WikiTablesErmSemanticParserTest, self).tearDown()
      # We don't want to leave generated files around just from running tests...
      if self.should_remove_sempre_abbreviations and os.path.exists(
          SEMPRE_ABBREVIATIONS_PATH
      ):
          os.remove(SEMPRE_ABBREVIATIONS_PATH)
      if self.should_remove_sempre_grammar and os.path.exists(
          SEMPRE_GRAMMAR_PATH
      ):
          os.remove(SEMPRE_GRAMMAR_PATH)
      if (
          self.should_remove_root_sempre_abbreviations
          and os.path.exists(self.module_root_abbreviations_path)
      ):
          os.remove(self.module_root_abbreviations_path)
      if self.should_remove_root_sempre_grammar and os.path.exists(
          self.module_root_grammar_path
      ):
          os.remove(self.module_root_grammar_path)
  
file_path: magnitude/pymagnitude/third_party/allennlp/tests/models/semantic_parsing/wikitables/wikitables_erm_semantic_parser_test.py
imports: from __future__ import division
  from __future__ import absolute_import
  import os
  import pytest
  from allennlp.common.testing import ModelTestCase
  from allennlp.training.metrics.wikitables_accuracy import SEMPRE_ABBREVIATIONS_PATH, SEMPRE_GRAMMAR_PATH
label_desc: Use image node_id 2 for calling the WikiTablesErmSemanticParserTest obj's underlying member method code with example usage: obj.tearDown() without return types