code: def tearDown(self):
      super(WikiTablesAccuracyTest, self).tearDown()
      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)
  
file_path: magnitude/pymagnitude/third_party/allennlp/tests/training/metrics/wikitables_accuracy_test.py
imports: from __future__ import division
  from __future__ import absolute_import
  import os
  import pytest
  from allennlp.common.testing import AllenNlpTestCase
  from allennlp.training.metrics import WikiTablesAccuracy
  from allennlp.training.metrics.wikitables_accuracy import SEMPRE_ABBREVIATIONS_PATH, SEMPRE_GRAMMAR_PATH
label_desc: Use image node_id 2 for calling the WikiTablesAccuracyTest obj's underlying member method code with example usage: obj.tearDown() without return types