GitHub user HyukjinKwon opened a pull request: https://github.com/apache/spark/pull/23033
[SPARK-26036][PYTHON] Break large tests.py files into smaller files ## What changes were proposed in this pull request? This PR continues to break down a big large file into smaller files. See https://github.com/apache/spark/pull/23021. It targets to follow https://github.com/numpy/numpy/tree/master/numpy. Basically this PR proposes to break down `pyspark/tests.py` into ...: ``` pyspark ... âââ testing ... â  âââ utils.py âââ tests â  âââ __init__.py â  âââ test_appsubmit.py â  âââ test_broadcast.py â  âââ test_conf.py â  âââ test_context.py â  âââ test_daemon.py â  âââ test_join.py â  âââ test_profiler.py â  âââ test_rdd.py â  âââ test_readwrite.py â  âââ test_serializers.py â  âââ test_shuffle.py â  âââ test_taskcontext.py â  âââ test_util.py â  âââ test_worker.py ... ``` ## How was this patch tested? Existing tests should cover. `cd python` and .`/run-tests-with-coverage`. Manually checked they are actually being ran. Each test (not officially) can be ran via: ```bash SPARK_TESTING=1 ./bin/pyspark pyspark.tests.test_context ``` Note that if you're using Mac and Python 3, you might have to `OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES`. You can merge this pull request into a Git repository by running: $ git pull https://github.com/HyukjinKwon/spark SPARK-26036 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/23033.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 #23033 ---- commit 08cb59eeda3fd3b1042013f72f6fc45ea1146bd1 Author: hyukjinkwon <gurwls223@...> Date: 2018-11-14T10:16:13Z Break large tests.py files into smaller files ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org