code: def test_urls(self, library):
      assets = [
          r["assets"] for r in install_library.library_records[library]
      ]
      for asset in assets:
          for system in asset.keys():
              url = asset[system]["url"]
              with urllib.request.urlopen(
                  urllib.request.Request(url, method="HEAD")
              ) as resp:
                  assert resp.getcode() == 200
  
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 6 for calling the TestInstallLibrary obj's underlying member method code with example usage: obj.test_urls(library) without return types