class_docstr: Test case that needs a Tensorflow Session.
class_docstr_tok: ["Test","case","that","needs","a","Tensorflow","Session","."]
docstr: Setup the session.
docstr_tok: ["Setup","the","session","."]
code: def setup_method(self):
      """Setup the session."""
      self.sess = tf.compat.v1.Session()
      self.sess.__enter__()
  
file_path: garage/tests/fixtures/fixtures.py
imports: import gc
  import os
  from dowel import logger
  import tensorflow
  from garage.experiment import deterministic
  from garage.experiment.snapshotter import SnapshotConfig
  from tests.fixtures.logger import NullOutput
label_desc: Use image node_id 1 for calling the TfTestCase obj's underlying member method code with example usage: obj.setup_method() without return types