You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/07/06 03:08:30 UTC

[GitHub] [spark] HyukjinKwon commented on a diff in pull request #37097: [SPARK-39616][BUILD][ML][FOLLOWUP] Skip flaky doctests

HyukjinKwon commented on code in PR #37097:
URL: https://github.com/apache/spark/pull/37097#discussion_r914374186


##########
python/pyspark/mllib/linalg/distributed.py:
##########
@@ -423,7 +423,7 @@ def computeSVD(
         [DenseVector([-0.7071, 0.7071]), DenseVector([-0.7071, -0.7071])]
         >>> svd_model.s
         DenseVector([3.4641, 3.1623])
-        >>> svd_model.V # doctest: +ELLIPSIS
+        >>> svd_model.V # doctest: +SKIP
         DenseMatrix(3, 2, [-0.4082, -0.8165, -0.4082, 0.8944, -0.4472, 0.0], 0)

Review Comment:
   Or you can change like this too I believe. 
   
   ```suggestion
           DenseMatrix(3, 2, [-0.4082, -0.8165, -0.4082, 0.8944, -0.4472, ...0.0], 0)
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org