Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.

Commit 1d89107

Browse files
committed
use SparkFunSuite
1 parent 6ee70de commit 1d89107

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mllib/src/test/scala/org/apache/spark/ml/classification/OneVsRestSuite.scala

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717

1818
package org.apache.spark.ml.classification
1919

20-
import org.scalatest.FunSuite
21-
20+
import org.apache.spark.SparkFunSuite
2221
import org.apache.spark.ml.attribute.NominalAttribute
2322
import org.apache.spark.ml.util.MetadataUtils
2423
import org.apache.spark.mllib.classification.LogisticRegressionWithLBFGS
@@ -30,7 +29,7 @@ import org.apache.spark.mllib.util.TestingUtils._
3029
import org.apache.spark.rdd.RDD
3130
import org.apache.spark.sql.DataFrame
3231

33-
class OneVsRestSuite extends FunSuite with MLlibTestSparkContext {
32+
class OneVsRestSuite extends SparkFunSuite with MLlibTestSparkContext {
3433

3534
@transient var dataset: DataFrame = _
3635
@transient var rdd: RDD[LabeledPoint] = _

0 commit comments

Comments
 (0)