code: def test_default_is_matrix_diags():
      m = scipy.sparse.diags([0, 1, 2])
      assert not isinstance(m, scipy.sparse.sparray)
  
imports: import pytest
  import numpy
  import numpy.testing
  import scipy.sparse
  import scipy.sparse.linalg
  from scipy._lib._util import VisibleDeprecationWarning
label_desc: Use image node_id 35 for calling a global function with example usage: test_default_is_matrix_diags() without return types