class_docstr: This class provides a basic framework for all Captum tests by providing
  a set up fixture, which sets a fixed random seed. Since many torch
  initializations are random, this ensures that tests run deterministically.
code: def setUp(self) -> None:
      set_all_random_seeds(1234)
      patch_methods(self)
  
file_path: captum/tests/helpers/basic.py
imports: import copy
  import random
  import unittest
  from typing import Callable
  import numpy
  import torch
  from captum.log import patch_methods
label_desc: Use image node_id 1 for calling the BaseTest obj's underlying member method code with example usage: obj.setUp() without return types