code: def test_dbscan_on_empty_array():
      X = np.array([])
      cuml_dbscan = cuDBSCAN()
  
      assert_raises(ValueError, cuml_dbscan.fit, X)
  
imports: from sklearn.preprocessing import StandardScaler
  from sklearn.metrics import pairwise_distances
  from sklearn.datasets import make_blobs
  from sklearn.cluster import DBSCAN
  from cuml.testing.utils import get_pattern, unit_param, quality_param, stress_param, array_equal, assert_dbscan_equal
  from cuml import DBSCAN
  from cuml.testing.utils import get_handle
  import pytest
  from cuml.internals.safe_imports import cpu_only_import_from
  from cuml.internals.safe_imports import cpu_only_import
label_desc: Use image node_id 12 for calling a global function with example usage: test_dbscan_on_empty_array() without return types