code: def test_blocks_default_construction_fn_matrices():
      """Same idea as `test_default_construction_fn_matrices`, but for the block
      creation function"""
      A = scipy.sparse.coo_matrix(np.eye(2))
      B = scipy.sparse.coo_matrix([[2], [0]])
      C = scipy.sparse.coo_matrix([[3]])
  
      # block diag
      m = scipy.sparse.block_diag((A, B, C))
      assert not isinstance(m, scipy.sparse.sparray)
  
      # bmat
      m = scipy.sparse.bmat([[A, None], [None, C]])
      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 45 for calling a global function with example usage: test_blocks_default_construction_fn_matrices() without return types