code: def test_classification_of_string_targets():
      X = np.array([1, 2, 1, 2, 1, 2, 1, 2, 1, 2])
      y = np.array(["a", "b", "a", "b", "a", "b", "a", "b", "a", "b"])
      obj = SimpleClassifier()
  
      fitted = obj.fit(X, y)
      pred = fitted.predict(np.array([1, 2]).reshape(-1, 1))
  
      np.testing.assert_array_equal(obj.classes_, np.array(["a", "b"]))
      np.testing.assert_array_equal(pred, np.array(["a", "b"]))
  
imports: import pytest
  import pandas
  import numpy
  from sklearn.datasets import load_iris, make_blobs, load_digits, fetch_openml
  from sklearn.svm import LinearSVC
  from sklearn.linear_model import LogisticRegression
  from sklearn.dummy import DummyClassifier
  from dabl.datasets import load_titanic
  from dabl.models import SimpleClassifier, SimpleRegressor, AnyClassifier
label_desc: Use image node_id 13 for calling a global function with example usage: test_classification_of_string_targets() without return types