ef METHOD_NAME(self):
  "Test that asking for less than 2 clusters raises an error"
  cl = KMeansClustering([876, 123, 344, 676], distance=lambda x,y: abs(x-y))
  self.assertRaises(ClusteringError, cl.getclusters, 0)
  self.assertRaises(ClusteringError, cl.getclusters, 1)