code: def test_unfitted():
      # Non-regression: before fit, there should be not fitted attributes.
      ms = MeanShift()
      assert not hasattr(ms, "cluster_centers_")
      assert not hasattr(ms, "labels_")
  
file_path: scikit-learn/sklearn/cluster/tests/test_mean_shift.py
imports: import warnings
  import numpy
  import pytest
  from sklearn.cluster import MeanShift, estimate_bandwidth, get_bin_seeds, mean_shift
  from sklearn.datasets import make_blobs
  from sklearn.metrics import v_measure_score
  from sklearn.utils._testing import assert_allclose, assert_array_equal
label_desc: Use image node_id 7 for calling a global function with example usage: test_unfitted() without return types