code: def _check_csr_rowslice(i, sl, X, Xcsr):
      np_slice = X[i, sl]
      csr_slice = Xcsr[i, sl]
      assert_array_almost_equal(np_slice, csr_slice.toarray()[0])
      assert_(type(csr_slice) is csr_matrix)
  
file_path: catboost/contrib/python/scipy/py3/scipy/sparse/tests/test_csr.py
imports: import numpy
  from numpy.testing import assert_array_almost_equal, assert_
  from scipy.sparse import csr_matrix
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: _check_csr_rowslice(i, sl, X, Xcsr) without return types