code: def test_too_few_dimensions():
      bad = np.random.rand(4, 4).ravel()
      cb = np.random.rand(4)
      assert_raises(ValueError, _clean_inputs, c=cb, A_ub=bad, b_ub=cb)
      assert_raises(ValueError, _clean_inputs, c=cb, A_eq=bad, b_eq=cb)
  
file_path: catboost/contrib/python/scipy/py2/scipy/optimize/tests/test__linprog_clean_inputs.py
imports: from __future__ import division, print_function, absolute_import
  import numpy
  from numpy.testing import assert_, assert_allclose
  from pytest import raises
  from scipy.optimize._linprog_util import _clean_inputs
  from copy import deepcopy
label_desc: Use image node_id 5 for calling a global function with example usage: test_too_few_dimensions() without return types