code: def test_three_blobs_1sample():
      km = Kmeans(k=3, max_iter=50, random_seed=1, print_progress=0)
      sample = X[1, :].reshape(1, 2)
  
      y_pred = km.fit(X).predict(sample)
      assert y_pred[0] == y[1]
  
file_path: mlxtend/mlxtend/cluster/tests/test_kmeans.py
imports: import numpy
  from sklearn.base import clone
  from mlxtend.cluster import Kmeans
  from mlxtend.data import three_blobs_data
  from mlxtend.utils import assert_raises
label_desc: Use image node_id 6 for calling a global function with example usage: test_three_blobs_1sample() without return types