code: def assert_sparse_equal_ref(sparse_mat):
      assert_equal_ref(sparse_mat.toarray())
  
imports: import pytest
  from pybind11_tests import ConstructorStats
label_desc: Use image node_id 2 for calling a global function with example usage: assert_sparse_equal_ref(sparse_mat) without return types