diff options
Diffstat (limited to 'python/run-tests')
-rwxr-xr-x | python/run-tests | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/python/run-tests b/python/run-tests index 48feba2f5b..1218edcbd7 100755 --- a/python/run-tests +++ b/python/run-tests @@ -48,6 +48,14 @@ function run_test() { echo "Running PySpark tests. Output is in python/unit-tests.log." +# Try to test with Python 2.6, since that's the minimum version that we support: +if [ $(which python2.6) ]; then + export PYSPARK_PYTHON="python2.6" +fi + +echo "Testing with Python version:" +$PYSPARK_PYTHON --version + run_test "pyspark/rdd.py" run_test "pyspark/context.py" run_test "pyspark/conf.py" |