Github user ueshin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20682#discussion_r171191303
  
    --- Diff: python/pyspark/mllib/evaluation.py ---
    @@ -542,7 +542,7 @@ def _test():
         (failure_count, test_count) = doctest.testmod(globs=globs, 
optionflags=doctest.ELLIPSIS)
         spark.stop()
         if failure_count:
    -        exit(-1)
    +        sys.exit(-1)
    --- End diff --
    
    need to import sys.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to