code: def test_version(expected_version=None):
      """
      Assert that expected OpenBLAS version is
      actually available via NumPy. Requires threadpoolctl
      """
      import numpy
      import threadpoolctl
  
      data = threadpoolctl.threadpool_info()
      if len(data) != 1:
          if platform.python_implementation() == "PyPy":
              print(
                  f"Not using OpenBLAS for PyPy in Azure CI, so skip this"
              )
              return
          raise ValueError(
              f"expected single threadpool_info result, got {data}"
          )
      if not expected_version:
          expected_version = OPENBLAS_V
      if data[0]["version"] != expected_version:
          raise ValueError(
              f"expected OpenBLAS version {expected_version}, got {data}"
          )
      print("OK")
  
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 12 for calling a global function with example usage: test_version(expected_version) without return types