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

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


The following commit(s) were added to refs/heads/branch-3.5 by this push:
     new 03bc2b188d21 [SPARK-48167][PYTHON][TESTS][FOLLOWUP][3.5] Reformat 
test_readwriter.py to fix Python Linter error
03bc2b188d21 is described below

commit 03bc2b188d2111b5c4cc5bc13ebd0455602028a8
Author: Dongjoon Hyun <dh...@apple.com>
AuthorDate: Tue May 7 13:38:08 2024 -0700

    [SPARK-48167][PYTHON][TESTS][FOLLOWUP][3.5] Reformat test_readwriter.py to 
fix Python Linter error
    
    ### What changes were proposed in this pull request?
    
    This is a follow-up of https://github.com/apache/spark/pull/46430 to fix 
Python linter failure.
    
    ### Why are the changes needed?
    
    To recover `branch-3.5` CI,
    - https://github.com/apache/spark/actions/runs/8981228745/job/24666400664
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Pass Python Linter in this PR builder.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #46445 from dongjoon-hyun/SPARK-48167.
    
    Authored-by: Dongjoon Hyun <dh...@apple.com>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 python/pyspark/sql/tests/test_readwriter.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/python/pyspark/sql/tests/test_readwriter.py 
b/python/pyspark/sql/tests/test_readwriter.py
index e903d3383b74..7911a82c61fc 100644
--- a/python/pyspark/sql/tests/test_readwriter.py
+++ b/python/pyspark/sql/tests/test_readwriter.py
@@ -247,7 +247,8 @@ class ReadwriterV2TestsMixin:
             self.assertEqual(100, self.spark.sql("select * from 
test_table").count())
 
     @unittest.skipIf(
-        "SPARK_SKIP_CONNECT_COMPAT_TESTS" in os.environ, "Known behavior 
change in 4.0")
+        "SPARK_SKIP_CONNECT_COMPAT_TESTS" in os.environ, "Known behavior 
change in 4.0"
+    )
     def test_create_without_provider(self):
         df = self.df
         with self.assertRaisesRegex(


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

Reply via email to