Skip to content

Commit 210d942

Browse files
committed
address viirya comments
1 parent a4f49ce commit 210d942

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mllib/src/test/scala/org/apache/spark/mllib/clustering/KMeansSuite.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ package org.apache.spark.mllib.clustering
1919

2020
import scala.util.Random
2121

22-
import org.scalatest.Assertions
23-
2422
import org.apache.spark.{SparkConf, SparkFunSuite}
2523
import org.apache.spark.mllib.linalg.{DenseVector, SparseVector, Vector, Vectors}
2624
import org.apache.spark.mllib.util.{LocalClusterSparkContext, MLlibTestSparkContext}
@@ -333,7 +331,7 @@ class KMeansSuite extends SparkFunSuite with MLlibTestSparkContext {
333331
}
334332
}
335333

336-
object KMeansSuite extends SparkFunSuite with Assertions {
334+
object KMeansSuite extends SparkFunSuite {
337335
def createModel(dim: Int, k: Int, isSparse: Boolean): KMeansModel = {
338336
val singlePoint = if (isSparse) {
339337
Vectors.sparse(dim, Array.empty[Int], Array.empty[Double])

0 commit comments

Comments
 (0)