code: def test_py23_compatibility():
      # Try loading files saved on Python 2 and Python 3.  They are not
      # the same, since files saved with SciPy versions < 1.0.0 may
      # contain unicode.
  
      a = load_npz(os.path.join(DATA_DIR, "csc_py2.npz"))
      b = load_npz(os.path.join(DATA_DIR, "csc_py3.npz"))
      c = csc_matrix([[0]])
  
      assert_equal(a.toarray(), c.toarray())
      assert_equal(b.toarray(), c.toarray())
  
file_path: catboost/contrib/python/scipy/py3/scipy/sparse/tests/test_matrix_io.py
imports: import os
  import numpy
  import tempfile
  from pytest import raises
  from numpy.testing import assert_equal, assert_
  from scipy.sparse import csc_matrix, csr_matrix, bsr_matrix, dia_matrix, coo_matrix, save_npz, load_npz, dok_matrix
label_desc: Use image node_id 7 for calling a global function with example usage: test_py23_compatibility() without return types