code: def test_deduplication(self):
      self.assertEqual(current_path(), "")
      with name_scope("name", caller=1):
          with name_scope("name", caller=1):
              self.assertEqual(current_path(), "name")
      self.assertEqual(current_path(), "")
      with name_scope("name"):
          with name_scope("name"):
              self.assertEqual(current_path(), "name/name")
  
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 2 for calling the NameScopeTest obj's underlying member method code with example usage: obj.test_deduplication() without return types