code: def test_umap_non_integer_n_components(nn_data):
      u = UMAP(n_components=1.5)
      with pytest.raises(ValueError):
          u.fit(nn_data)
  
imports: import warnings
  import numpy
  from sklearn.metrics import pairwise_distances
  import pytest
  import numba
  from umap import UMAP
  import umap.validation
label_desc: Use image node_id 6 for calling a global function with example usage: test_umap_non_integer_n_components(nn_data) without return types