code: def test_scipy_api_compat_weak(single_dataset_nxresults_weak):
      (
          G,
          dataset_path,
          _,
          _,
          _,
          api_type,
      ) = single_dataset_nxresults_weak
      assert_scipy_api_compat(G, dataset_path, api_type)
  
imports: import gc
  import time
  from collections import defaultdict
  import pytest
  import cupy
  import numpy
  import networkx
  from cupyx.scipy.sparse import coo_matrix
  from cupyx.scipy.sparse import csr_matrix
  from cupyx.scipy.sparse import csc_matrix
  from scipy.sparse import coo_matrix
  from scipy.sparse import csr_matrix
  from scipy.sparse import csc_matrix
  from cugraph.utilities import is_nx_graph_type
  import cudf
  import cugraph
  from cugraph.testing import utils, DEFAULT_DATASETS
  from cugraph.datasets import dolphins, netscience, email_Eu_core
label_desc: Use image node_id 15 for calling a global function with example usage: test_scipy_api_compat_weak(single_dataset_nxresults_weak) without return types