You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ru...@apache.org on 2025/11/10 09:50:23 UTC

(spark) branch master updated: [SPARK-54065][PYTHON][TESTS][FOLLOWUP] Remove unused import module from `test_python_datasource.py`

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

ruifengz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 8cc76fe19606 [SPARK-54065][PYTHON][TESTS][FOLLOWUP] Remove unused import module from `test_python_datasource.py`
8cc76fe19606 is described below

commit 8cc76fe19606c9d0be80757bea31aab14024e5dc
Author: Kousuke Saruta <sa...@amazon.co.jp>
AuthorDate: Mon Nov 10 17:50:11 2025 +0800

    [SPARK-54065][PYTHON][TESTS][FOLLOWUP] Remove unused import module from `test_python_datasource.py`
    
    ### What changes were proposed in this pull request?
    This PR aims to recover CI by removing `import sys` from `test_python_datasource.py`
    After #52967, CI consistently fails because `sys` is no longer used.
    
    ### Why are the changes needed?
    To recover CI.
    
    ### Does this PR introduce _any_ user-facing change?
    No.
    
    ### How was this patch tested?
    GA.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    No.
    
    Closes #52970 from sarutak/followup-SPARK-54065.
    
    Authored-by: Kousuke Saruta <sa...@amazon.co.jp>
    Signed-off-by: Ruifeng Zheng <ru...@apache.org>
---
 python/pyspark/sql/tests/test_python_datasource.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/python/pyspark/sql/tests/test_python_datasource.py b/python/pyspark/sql/tests/test_python_datasource.py
index ee2d0ac60d90..532f68f2c8f2 100644
--- a/python/pyspark/sql/tests/test_python_datasource.py
+++ b/python/pyspark/sql/tests/test_python_datasource.py
@@ -16,7 +16,6 @@
 #
 import os
 import platform
-import sys
 import tempfile
 import unittest
 import logging


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