code: def test_array_like_cumulative_gain():
      cumulative_gain([0, 1], [[0.8, 0.2], [0.2, 0.8]])
      cumulative_gain([0, "a"], [[0.8, 0.2], [0.2, 0.8]])
      cumulative_gain(["b", "a"], [[0.8, 0.2], [0.2, 0.8]])
  
file_path: sklearn-evaluation/tests/test_cumulative_gain_lift_curve.py
imports: import pytest
  import matplotlib.pyplot
  from matplotlib.testing.decorators import image_comparison
  from sklearn.linear_model import LogisticRegression
  from sklearn.datasets import load_breast_cancer, load_iris
  from sklearn_evaluation.plot import cumulative_gain, lift_curve
label_desc: Use image node_id 5 for calling a global function with example usage: test_array_like_cumulative_gain() without return types