code: def test_dense_addition(A):
      X = np.random.random(A.shape)
      assert not isinstance(
          A + X, np.matrix
      ), "Expected array, got matrix"
  
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 6 for calling a global function with example usage: test_dense_addition(A) without return types