code: def test_explicit_folder(self):
      # No need for the trailing "/" is `is_folder` explicitly passed
      self.assertTrue(
          CommitOperationDelete(
              path_in_repo="path/to/folder", is_folder=True
          ).is_folder
      )
      self.assertTrue(
          CommitOperationDelete(
              path_in_repo="path/to/folder.md", is_folder=True
          ).is_folder
      )
  
imports: import unittest
  from huggingface_hub._commit_api import CommitOperationAdd, CommitOperationDelete, _warn_on_overwriting_operations
label_desc: Use image node_id 4 for calling the TestCommitOperationDelete obj's underlying member method code with example usage: obj.test_explicit_folder() without return types