code: def test_scipy_adjmat():
      g = dgl.graph([])
      g.add_nodes(10)
      g.add_edges(range(9), range(1, 10))
  
      adj_0 = g.adj_external(scipy_fmt="csr")
      adj_1 = g.adj_external(scipy_fmt="coo")
      assert np.array_equal(adj_0.toarray(), adj_1.toarray())
  
      adj_t0 = g.adj_external(transpose=False, scipy_fmt="csr")
      adj_t_1 = g.adj_external(transpose=False, scipy_fmt="coo")
      assert np.array_equal(adj_0.toarray(), adj_1.toarray())
  
imports: import math
  import numbers
  import backend
  import dgl
  import networkx
  import numpy
  import pytest
  import scipy.sparse
  from dgl import DGLError
label_desc: Use image node_id 9 for calling a global function with example usage: test_scipy_adjmat() without return types