code: def test__clean_inputs1():
      c = [1, 2]
      A_ub = [[1, 1], [2, 2]]
      b_ub = [1, 1]
      A_eq = [[1, 1], [2, 2]]
      b_eq = [1, 1]
      bounds = None
      outputs = _clean_inputs(
          c=c, A_ub=A_ub, b_ub=b_ub, A_eq=A_eq, b_eq=b_eq, bounds=bounds
      )
      assert_allclose(outputs[0], np.array(c))
      assert_allclose(outputs[1], np.array(A_ub))
      assert_allclose(outputs[2], np.array(b_ub))
      assert_allclose(outputs[3], np.array(A_eq))
      assert_allclose(outputs[4], np.array(b_eq))
      assert_(outputs[5] == [(0, None)] * 2, "")
  
      assert_(outputs[0].shape == (2,), "")
      assert_(outputs[1].shape == (2, 2), "")
      assert_(outputs[2].shape == (2,), "")
      assert_(outputs[3].shape == (2, 2), "")
      assert_(outputs[4].shape == (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 9 for calling a global function with example usage: test__clean_inputs1() without return types