code: def test_basic(X, y, refit):
      # test on iris
      ec = SimpleClassifier(refit=refit)
      ec.fit(X, y)
      if refit:
          # smoke test
          ec.predict(X)
      else:
          with pytest.raises(ValueError, match="refit"):
              ec.predict(X)
  
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 3 for calling a global function with example usage: test_basic(X, y, refit) without return types