code: def test_feature_agglomeration_feature_names_out():
      """Check `get_feature_names_out` for `FeatureAgglomeration`."""
      X, _ = make_blobs(n_features=6, random_state=0)
      agglo = FeatureAgglomeration(n_clusters=3)
      agglo.fit(X)
      n_clusters = agglo.n_clusters_
  
      names_out = agglo.get_feature_names_out()
      assert_array_equal(
          [f"featureagglomeration{i}" for i in range(n_clusters)],
          names_out,
      )
  
file_path: scikit-learn/sklearn/cluster/tests/test_feature_agglomeration.py
imports: import warnings
  import numpy
  import pytest
  from numpy.testing import assert_array_equal
  from sklearn.cluster import FeatureAgglomeration
  from sklearn.datasets import make_blobs
  from sklearn.utils._testing import assert_array_almost_equal
label_desc: Use image node_id 2 for calling a global function with example usage: test_feature_agglomeration_feature_names_out() without return types