File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
mllib/src/test/scala/org/apache/spark/mllib/util Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -21,20 +21,19 @@ import java.io.File
21
21
22
22
import scala .io .Source
23
23
24
- import org .scalatest .FunSuite
25
-
26
24
import breeze .linalg .{squaredDistance => breezeSquaredDistance }
27
25
import com .google .common .base .Charsets
28
26
import com .google .common .io .Files
29
27
30
28
import org .apache .spark .SparkException
29
+ import org .apache .spark .SparkFunSuite
31
30
import org .apache .spark .mllib .linalg .{DenseVector , SparseVector , Vectors }
32
31
import org .apache .spark .mllib .regression .LabeledPoint
33
32
import org .apache .spark .mllib .util .MLUtils ._
34
33
import org .apache .spark .mllib .util .TestingUtils ._
35
34
import org .apache .spark .util .Utils
36
35
37
- class MLUtilsSuite extends FunSuite with MLlibTestSparkContext {
36
+ class MLUtilsSuite extends SparkFunSuite with MLlibTestSparkContext {
38
37
39
38
test(" epsilon computation" ) {
40
39
assert(1.0 + EPSILON > 1.0 , s " EPSILON is too small: $EPSILON. " )
You can’t perform that action at this time.
0 commit comments