Skip to content

Commit 931d02d

Browse files
committed
TST: concise comment
1 parent a3e6e96 commit 931d02d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ class OneVsRestSuite extends SparkFunSuite with MLlibTestSparkContext with Defau
159159
test("SPARK-21306: OneVsRest should cache weightCol if necessary") {
160160
val dataset2 = dataset.withColumn("weight", lit(1))
161161
val ova = new OneVsRest().setClassifier(new LogisticRegression().setWeightCol("weight"))
162-
// run without any exception.
162+
// failed if weightCol is not cached.
163163
val ovaModel = ova.fit(dataset2)
164164
assert(ovaModel !== null)
165165
}

0 commit comments

Comments
 (0)