code: def test_csr_rowslice():
      N = 10
      np.random.seed(0)
      X = np.random.random((N, N))
      X[X > 0.7] = 0
      Xcsr = csr_matrix(X)
  
      slices = [
          slice(None, None, None),
          slice(None, None, -1),
          slice(1, -2, 2),
          slice(-2, 1, -2),
      ]
  
      for i in range(N):
          for sl in slices:
              _check_csr_rowslice(i, sl, X, Xcsr)
  
file_path: catboost/contrib/python/scipy/py2/scipy/sparse/tests/test_csr.py
imports: from __future__ import division, print_function, absolute_import
  import numpy
  from numpy.testing import assert_array_almost_equal, assert_
  from scipy.sparse import csr_matrix
label_desc: Use image node_id 2 for calling a global function with example usage: test_csr_rowslice() without return types