code: def testEagerResourceVariables(self):
      with context.eager_mode():
          resource_variable_ops.ResourceVariable(1.0, name="a")
  
file_path: tensorflow-upstream/tensorflow/python/kernel_tests/garbage_collection_test.py
imports: from tensorflow.python.eager import context
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import resource_variable_ops
  from tensorflow.python.ops import tensor_array_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the NoReferenceCycleTests obj's underlying member method code with example usage: obj.testEagerResourceVariables() without return types