GitHub user HyukjinKwon opened a pull request: https://github.com/apache/spark/pull/23200
[SPARK-26033][SPARK-26034][PYTHON][FOLLOW-UP] Small cleanup and deduplication in ml/mllib tests ## What changes were proposed in this pull request? This PR is a small follow up that puts some logic and functions into smaller scope and make it localized, and deduplicate. ## How was this patch tested? Manually tested. Jenkins tests as well. You can merge this pull request into a Git repository by running: $ git pull https://github.com/HyukjinKwon/spark followup-SPARK-26034-SPARK-26033 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/23200.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #23200 ---- commit cbe13bf2fdc99f033746f5f3ff67c73fe7f27200 Author: Hyukjin Kwon <gurwls223@...> Date: 2018-12-02T10:00:18Z Small cleanup and deduplication ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org