code: def test_stacking(self):
      self.assertEqual(current_path(), "")
      with name_scope("outer") as outer:
          self.assertEqual(outer.name, "outer")
          self.assertEqual(current_path(), "outer")
          with name_scope("middle") as middle:
              self.assertEqual(middle.name, "middle")
              self.assertEqual(current_path(), "outer/middle")
              with name_scope("inner") as inner:
                  self.assertEqual(inner.name, "inner")
                  self.assertEqual(current_path(), "outer/middle/inner")
              self.assertEqual(current_path(), "outer/middle")
          self.assertEqual(current_path(), "outer")
      self.assertEqual(current_path(), "")
  
file_path: keras/keras/backend/common/name_scope_test.py
imports: from keras import testing
  from keras.backend.common.name_scope import current_path
  from keras.backend.common.name_scope import name_scope
label_desc: Use image node_id 1 for calling the NameScopeTest obj's underlying member method code with example usage: obj.test_stacking() without return types