code: def test_add_then_delete_file(self) -> None:
      with self.assertWarns(UserWarning):
          _warn_on_overwriting_operations(
              [self.add_file_abc, self.delete_file_abc]
          )
  
imports: import unittest
  from huggingface_hub._commit_api import CommitOperationAdd, CommitOperationDelete, _warn_on_overwriting_operations
label_desc: Use image node_id 3 for calling the TestWarnOnOverwritingOperations obj's underlying member method code with example usage: obj.test_add_then_delete_file() without return types