code: def test_isomap_fitted_attributes_dtype(global_dtype):
      """Check that the fitted attributes are stored accordingly to the
      data type of X."""
      iso = manifold.Isomap(n_neighbors=2)
  
      X = np.array([[1, 2], [3, 4], [5, 6]], dtype=global_dtype)
  
      iso.fit(X)
  
      assert iso.dist_matrix_.dtype == global_dtype
      assert iso.embedding_.dtype == global_dtype
  
imports: import math
  from itertools import product
  import numpy
  import pytest
  from scipy.sparse import rand
  from sklearn import clone, datasets, manifold, neighbors, pipeline, preprocessing
  from sklearn.datasets import make_blobs
  from sklearn.metrics.pairwise import pairwise_distances
  from sklearn.utils._testing import assert_allclose, assert_allclose_dense_sparse, assert_array_equal
  from sklearn.utils.fixes import CSR_CONTAINERS
label_desc: Use image node_id 11 for calling a global function with example usage: test_isomap_fitted_attributes_dtype(global_dtype) without return types