code: def test_bad_bounds():
      c = [1, 2]
      assert_raises(ValueError, _clean_inputs, c=c, bounds=(1, -2))
      assert_raises(ValueError, _clean_inputs, c=c, bounds=[(1, -2)])
      assert_raises(
          ValueError, _clean_inputs, c=c, bounds=[(1, -2), (1, 2)]
      )
  
      assert_raises(ValueError, _clean_inputs, c=c, bounds=(1, 2, 2))
      assert_raises(ValueError, _clean_inputs, c=c, bounds=[(1, 2, 2)])
      assert_raises(
          ValueError, _clean_inputs, c=c, bounds=[(1, 2), (1, 2, 2)]
      )
      assert_raises(
          ValueError,
          _clean_inputs,
          c=c,
          bounds=[(1, 2), (1, 2), (1, 2)],
      )
  
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 12 for calling a global function with example usage: test_bad_bounds() without return types