code: def testNestedScopesScopes(self):
      resource_tracker = resource.ResourceTracker()
      with resource.resource_tracker_scope(resource_tracker):
          resource_tracker1 = resource.ResourceTracker()
          with resource.resource_tracker_scope(resource_tracker1):
              dummy_resource1 = _DummyResource("test1")
  
          resource_tracker2 = resource.ResourceTracker()
          with resource.resource_tracker_scope(resource_tracker2):
              dummy_resource2 = _DummyResource("test2")
  
      self.assertEqual(1, len(resource_tracker1.resources))
      self.assertEqual(
          "test1", resource_tracker1.resources[0].resource_handle
      )
      self.assertEqual(1, len(resource_tracker2.resources))
      self.assertEqual(
          "test2", resource_tracker2.resources[0].resource_handle
      )
      self.assertEqual(2, len(resource_tracker.resources))
      self.assertEqual(
          "test1", resource_tracker.resources[0].resource_handle
      )
      self.assertEqual(
          "test2", resource_tracker.resources[1].resource_handle
      )
  
imports: from tensorflow.python.eager import context
  from tensorflow.python.eager import wrap_function
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import test
  from tensorflow.python.trackable import resource
label_desc: Use image node_id 3 for calling the ResourceTrackerTest obj's underlying member method code with example usage: obj.testNestedScopesScopes() without return types