code: def _test_install(self, library, cuda):
      system = platform.system()
      for rec in install_library.library_records[library]:
          if rec["cuda"] != cuda:
              continue
          version = rec[library]
          filenames = rec["assets"][system]["filenames"]
          with tempfile.TemporaryDirectory() as d:
              install_library.install_lib(cuda, d, library)
              self._check_installed(
                  d, cuda, library, version, filenames
              )
          break
      else:
          pytest.fail(f"unexpected CUDA version {cuda} for {library}")
  
file_path: cupy/tests/cupyx_tests/tools_tests/test_install_library.py
imports: import os
  import platform
  import tempfile
  import urllib
  from cupy import testing
  from cupyx.tools import install_library
  import pytest
label_desc: Use image node_id 4 for calling the TestInstallLibrary obj's underlying member method code with example usage: obj._test_install(library, cuda) without return types