code: def test_randn(self):
      # Simple distributional checks for sparse.randn.
      # Statistically, some of these should be negative
      # and some should be greater than 1.
      random_states = [None, 4321, np.random.RandomState()]
      try:
          gen = np.random.default_rng()
          random_states.append(gen)
      except AttributeError:
          pass
  
      for rs in random_states:
          x = _sprandn(
              10, 20, density=0.5, dtype=np.float64, random_state=rs
          )
          assert_(np.any(np.less(x.data, 0)))
          assert_(np.any(np.less(1, x.data)))
          x = _sprandn_array(
              10, 20, density=0.5, dtype=np.float64, random_state=rs
          )
          assert_(np.any(np.less(x.data, 0)))
          assert_(np.any(np.less(1, x.data)))
  
imports: import numpy
  from numpy import array
  from numpy.testing import assert_equal, assert_, assert_array_equal, assert_array_almost_equal_nulp
  import pytest
  from pytest import raises
  from scipy._lib._testutils import check_free_memory
  from scipy._lib._util import check_random_state
  from scipy.sparse import csr_matrix, coo_matrix, csr_array, coo_array, sparray, spmatrix, _construct
  from scipy.sparse._construct import rand
label_desc: Use image node_id 32 for calling the TestConstructUtils obj's underlying member method code with example usage: obj.test_randn() without return types