code: def test_unsupported_cuda_version():
      """
      Ensures the proper exception is raised when ktruss is called in an
      unsupported env, and not when called in a supported env.
      """
      k = 5
  
      G = polbooks.get_graph(download=True)
      if __cuda_version == __unsupported_cuda_version:
          with pytest.raises(NotImplementedError):
              cugraph.k_truss(G, k)
      else:
          cugraph.k_truss(G, k)
  
file_path: cugraph/python/cugraph/cugraph/tests/community/test_k_truss_subgraph.py
imports: import gc
  import pytest
  import networkx
  import numpy
  import cugraph
  from cugraph.testing import utils
  from cugraph.datasets import polbooks, karate_asymmetric
  from numba import cuda
label_desc: Use image node_id 4 for calling a global function with example usage: test_unsupported_cuda_version() without return types