code: def setUp(self):
      self.should_remove_sempre_abbreviations = not os.path.exists(
          SEMPRE_ABBREVIATIONS_PATH
      )
      self.should_remove_sempre_grammar = not os.path.exists(
          SEMPRE_GRAMMAR_PATH
      )
  
      # The model tests are run with respect to the module root, so check if abbreviations
      # and grammar already exist there (since we want to clean up module root after test)
      self.module_root_abbreviations_path = (
          self.MODULE_ROOT / "data" / "abbreviations.tsv"
      )
      self.module_root_grammar_path = (
          self.MODULE_ROOT / "data" / "grow.grammar"
      )
      self.should_remove_root_sempre_abbreviations = not os.path.exists(
          self.module_root_abbreviations_path
      )
      self.should_remove_root_sempre_grammar = not os.path.exists(
          self.module_root_grammar_path
      )
  
      super(WikiTablesMmlSemanticParserTest, self).setUp()
      self.set_up_model(
          unicode(
              self.FIXTURES_ROOT
              / "semantic_parsing"
              / "wikitables"
              / "experiment.json"
          ),
          unicode(
              self.FIXTURES_ROOT
              / "data"
              / "wikitables"
              / "sample_data.examples"
          ),
      )
  
imports: from __future__ import division
  from __future__ import absolute_import
  from collections import namedtuple
  import os
  import pytest
  from flaky import flaky
  from numpy.testing import assert_almost_equal
  import torch
  from allennlp.common import Params
  from allennlp.common.testing import ModelTestCase
  from allennlp.models import Model, WikiTablesMmlSemanticParser
  from allennlp.training.metrics.wikitables_accuracy import SEMPRE_ABBREVIATIONS_PATH, SEMPRE_GRAMMAR_PATH
label_desc: Use image node_id 1 for calling the WikiTablesMmlSemanticParserTest obj's underlying member method code with example usage: obj.setUp() without return types