code: def test_bad_transform_data(nn_data):
      u = UMAP().fit([[1, 1, 1, 1]])
      with pytest.raises(ValueError):
          u.transform([[0, 0, 0, 0]])
  
imports: from sklearn.datasets import make_blobs
  from sklearn.cluster import KMeans
  from sklearn.metrics import adjusted_rand_score, pairwise_distances
  from sklearn.preprocessing import normalize
  from numpy.testing import assert_array_equal
  from umap import UMAP
  from umap.spectral import component_layout
  import numpy
  import scipy.sparse
  import pytest
  import warnings
  from umap.distances import pairwise_special_metric
  from umap.utils import disconnected_vertices
  from scipy.sparse import csr_matrix
label_desc: Use image node_id 6 for calling a global function with example usage: test_bad_transform_data(nn_data) without return types