code: def test_isshape(self):
      assert_equal(sputils.isshape((1, 2)), True)
      assert_equal(sputils.isshape((5, 2)), True)
  
      assert_equal(sputils.isshape((1.5, 2)), False)
      assert_equal(sputils.isshape((2, 2, 2)), False)
      assert_equal(sputils.isshape(([2], 2)), False)
      assert_equal(sputils.isshape((-1, 2), nonneg=False), True)
      assert_equal(sputils.isshape((2, -1), nonneg=False), True)
      assert_equal(sputils.isshape((-1, 2), nonneg=True), False)
      assert_equal(sputils.isshape((2, -1), nonneg=True), False)
  
file_path: catboost/contrib/python/scipy/py3/scipy/sparse/tests/test_sputils.py
imports: import numpy
  from numpy.testing import assert_equal, suppress_warnings
  from pytest import raises
  from scipy.sparse import sputils
  from scipy.sparse.sputils import matrix
label_desc: Use image node_id 5 for calling the TestSparseUtils obj's underlying member method code with example usage: obj.test_isshape() without return types