code: def test_setup(plats):
      """
      Make sure all the downloadable files needed for wheel building
      exist and can be opened
      """
  
      def items():
          """yields all combinations of arch, ilp64"""
          for plat in plats:
              yield plat, None
              osname, arch = plat.split("-")
              if arch not in ("i686", "32"):
                  yield plat, "64_"
  
      errs = []
      for plat, ilp64 in items():
          osname, _ = plat.split("-")
          if plat not in plats:
              continue
          target = None
          try:
              try:
                  target = setup_openblas(plat, ilp64)
              except Exception as e:
                  print(f"Could not setup {plat} with ilp64 {ilp64}, ")
                  print(e)
                  errs.append(e)
                  continue
              if not target:
                  raise RuntimeError(f"Could not setup {plat}")
              print("success with", plat, ilp64)
              files = glob.glob(os.path.join(target, "lib", "*.a"))
              if not files:
                  raise RuntimeError("No lib/*.a unpacked!")
          finally:
              if target:
                  if os.path.isfile(target):
                      os.unlink(target)
                  else:
                      shutil.rmtree(target)
      if errs:
          raise errs[0]
  
imports: import glob
  import hashlib
  import os
  import platform
  import sysconfig
  import sys
  import shutil
  import tarfile
  import textwrap
  import zipfile
  from tempfile import mkstemp, gettempdir
  from urllib.request import urlopen, Request
  from urllib.error import HTTPError
label_desc: Use image node_id 11 for calling a global function with example usage: test_setup(plats) without return types