code: def test_verbose(capsys, verbose):
      clf = SelfTrainingClassifier(
          KNeighborsClassifier(), verbose=verbose
      )
      clf.fit(X_train, y_train_missing_labels)
  
      captured = capsys.readouterr()
  
      if verbose:
          assert "iteration" in captured.out
      else:
          assert "iteration" not in captured.out
  
imports: from math import ceil
  import numpy
  import pytest
  from numpy.testing import assert_array_equal
  from sklearn.datasets import load_iris, make_blobs
  from sklearn.ensemble import StackingClassifier
  from sklearn.exceptions import NotFittedError
  from sklearn.metrics import accuracy_score
  from sklearn.model_selection import train_test_split
  from sklearn.neighbors import KNeighborsClassifier
  from sklearn.semi_supervised import SelfTrainingClassifier
  from sklearn.svm import SVC
label_desc: Use image node_id 12 for calling a global function with example usage: test_verbose(capsys, verbose) without return types