code: def test_input_array_lengths_1():
      t = np.array([1, 2])
      t2 = np.array([1, 2, 3])
      assert_raises(
          ValueError,
          (
              "Each prediction array must have"
              " the same number of samples."
          ),
          cochrans_q,
          t,
          t2,
          t,
      )
  
file_path: mlxtend/mlxtend/evaluate/tests/test_cochran_q.py
imports: import numpy
  from mlxtend.evaluate import cochrans_q, mcnemar, mcnemar_table
  from mlxtend.utils import assert_raises
label_desc: Use image node_id 2 for calling a global function with example usage: test_input_array_lengths_1() without return types