code: def test_umap_negative_min_dist(nn_data):
      u = UMAP(min_dist=-1)
      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 4 for calling a global function with example usage: test_umap_negative_min_dist(nn_data) without return types