docstr: Get all PDFs except hidden ones, using single pattern.
docstr_tok: ["Get","all","PDFs","except","hidden","ones",",","using","single","pattern","."]
code: def test_get_all_pdfs_except_hidden_using_single_pattern(
      self,
  ) -> None:
      """Get all PDFs except hidden ones, using single pattern."""
      self._check(
          items=DUMMY_FILES,
          expected_items=["not_hidden.pdf"],
          allow_patterns="*.pdf",  # not a list
          ignore_patterns=".*",  # not a list
      )
  
file_path: hub-client/tests/test_utils_paths.py
imports: import unittest
  from dataclasses import dataclass
  from pathlib import Path
  from typing import Any, Callable, List, Optional, Union
  from huggingface_hub.utils import IGNORE_GIT_FOLDER_PATTERNS, filter_repo_objects
label_desc: Use image node_id 3 for calling the TestPathsUtils obj's underlying member method code with example usage: obj.test_get_all_pdfs_except_hidden_using_single_pattern() without return types