class_docstr: Base class for TF-Agents unit tests.
code: def setUp(self):
      super(TestCase, self).setUp()
      tf.compat.v1.enable_resource_variables()
      # Guard against tests calling gin.parse_config() without calling
      # gin.clear_config(), which can cause nasty bugs that show up in a
      # completely different test. See b/139088071 for example.
      gin.clear_config()
  
file_path: agents/tf_agents/utils/test_utils.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  from absl import flags
  import gin
  import numpy
  import tensorflow
label_desc: Use image node_id 1 for calling the TestCase obj's underlying member method code with example usage: obj.setUp() without return types