You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2020/10/22 01:05:12 UTC

[spark] branch branch-2.4 updated: [SPARK-33189][FOLLOWUP][2.4] Fix syntax error in python/run-tests.py

This is an automated email from the ASF dual-hosted git repository.

gurwls223 pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-2.4 by this push:
     new 9634da8  [SPARK-33189][FOLLOWUP][2.4] Fix syntax error in python/run-tests.py
9634da8 is described below

commit 9634da8f3852c50a810b10a83530aec997349c80
Author: Dongjoon Hyun <dh...@apple.com>
AuthorDate: Thu Oct 22 09:58:25 2020 +0900

    [SPARK-33189][FOLLOWUP][2.4] Fix syntax error in python/run-tests.py
    
    ### What changes were proposed in this pull request?
    
    This PR aims to fix syntax error.
    
    ### Why are the changes needed?
    
    ```
    ========================================================================
    Running Python style checks
    ========================================================================
    pycodestyle checks failed.
    *** Error compiling './python/run-tests.py'...
      File "./python/run-tests.py", line 80
        'PYARROW_IGNORE_TIMEZONE': '1',
                                ^
    SyntaxError: invalid syntax
    ```
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Pass the Jenkins.
    
    Closes #30124 from dongjoon-hyun/SPARK-33189.
    
    Authored-by: Dongjoon Hyun <dh...@apple.com>
    Signed-off-by: HyukjinKwon <gu...@apache.org>
---
 python/run-tests.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/python/run-tests.py b/python/run-tests.py
index 5905f3c..8dae886 100755
--- a/python/run-tests.py
+++ b/python/run-tests.py
@@ -75,9 +75,9 @@ def run_individual_python_test(target_dir, test_name, pyspark_python):
         'SPARK_TESTING': '1',
         'SPARK_PREPEND_CLASSES': '1',
         'PYSPARK_PYTHON': which(pyspark_python),
-        'PYSPARK_DRIVER_PYTHON': which(pyspark_python)
+        'PYSPARK_DRIVER_PYTHON': which(pyspark_python),
         # Preserve legacy nested timezone behavior for pyarrow>=2, remove after SPARK-32285
-        'PYARROW_IGNORE_TIMEZONE': '1',
+        'PYARROW_IGNORE_TIMEZONE': '1'
     })
 
     # Create a unique temp directory under 'target/' for each run. The TMPDIR variable is


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org