code: def setUp(self):
      if not HAS_PYTEXT:
          return self.skipTest(
              "Skip the test since PyText is not installed"
          )
  
      self.embedding_file, self.embedding_path = tempfile.mkstemp()
      (
          self.word_embedding_file,
          self.word_embedding_path,
      ) = tempfile.mkstemp()
      self.decoder_file, self.decoder_path = tempfile.mkstemp()
      (
          self.representation_file,
          self.representation_path,
      ) = tempfile.mkstemp()
      self.model = self._create_dummy_model()
      self.data_handler = self._create_dummy_data_handler()
  
file_path: captum/tests/attr/models/test_pytext.py
imports: from __future__ import print_function
  import os
  import tempfile
  import unittest
  from typing import Dict, List
  import torch
label_desc: Use image node_id 1 for calling the TestWordEmbeddings obj's underlying member method code with example usage: obj.setUp() and returns: self