code: def test_check_labels_ok_2():
      y = np.array([1, 2, 2])
      cl = BlankClassifier(print_progress=0, random_seed=1)
      cl._check_target_array(y=y, allowed={(1, 2), (0, 1)})
  
file_path: mlxtend/mlxtend/_base/tests/test_classifier.py
imports: import numpy
  import pytest
  from mlxtend._base import _BaseModel, _Classifier
label_desc: Use image node_id 3 for calling a global function with example usage: test_check_labels_ok_2() without return types