GitHub user holdenk opened a pull request:
https://github.com/apache/spark/pull/11197
[SPARK-13302][PYSPARK][TESTS] Move the temp file creation and cleanup
outside of the doctests
Some of the new doctests in ml/clustering.py have a lot of setup code, move
the setup code to the general test init to keep the doctest more example-style
looking.
In part this is a follow up to https://github.com/apache/spark/pull/10999
Note that the same pattern is followed in regression & recommendation -
might as well clean up all three at the same time.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/holdenk/spark
SPARK-13302-cleanup-doctests-in-ml-clustering
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/11197.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 #11197
----
commit bbd82875d7b3aa9593563588a4da5e1d43db7bb8
Author: Holden Karau <[email protected]>
Date: 2016-02-13T21:32:10Z
Move the temp file creation and cleanup outside of the doctest code its
self and into the test init for ML
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]