code: def test():
      import sys
  
      recursive = 0
      if sys.argv[1:] and sys.argv[1] == "-r":
          del sys.argv[1:2]
          recursive = 1
      try:
          if sys.argv[1:]:
              testall(sys.argv[1:], recursive, 1)
          else:
              testall(["."], recursive, 1)
      except KeyboardInterrupt:
          sys.stderr.write("\n[Interrupted]\n")
          sys.exit(1)
  
file_path: catboost/contrib/tools/python3/src/Lib/imghdr.py
imports: from os import PathLike
  import warnings
label_desc: Use image node_id 15 for calling a global function with example usage: test() without return types