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

dongjoon 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 948fa0e3e6b [SPARK-43458][SPARK-43561][PS][TESTS] Enable 
`test_to_latex` for (Series|DataFrame) conversion
948fa0e3e6b is described below

commit 948fa0e3e6b647e37f0a1438086099bb3c141050
Author: Haejoon Lee <haejoon....@databricks.com>
AuthorDate: Sat Sep 16 20:59:38 2023 -0700

    [SPARK-43458][SPARK-43561][PS][TESTS] Enable `test_to_latex` for 
(Series|DataFrame) conversion
    
    ### What changes were proposed in this pull request?
    
    This PR proposes to enable `SeriesConversionTests.test_to_latex` and 
`DataFrameConversionTests.test_to_latex`.
    
    ### Why are the changes needed?
    
    To improve the test coverage.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Enabling the existing tests.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #42954 from itholic/enable_to_latex.
    
    Authored-by: Haejoon Lee <haejoon....@databricks.com>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 python/pyspark/pandas/tests/test_dataframe_conversion.py | 4 ----
 python/pyspark/pandas/tests/test_series_conversion.py    | 4 ----
 2 files changed, 8 deletions(-)

diff --git a/python/pyspark/pandas/tests/test_dataframe_conversion.py 
b/python/pyspark/pandas/tests/test_dataframe_conversion.py
index 655c0970082..283849a06d5 100644
--- a/python/pyspark/pandas/tests/test_dataframe_conversion.py
+++ b/python/pyspark/pandas/tests/test_dataframe_conversion.py
@@ -202,10 +202,6 @@ class DataFrameConversionTestsMixin:
             psdf.to_clipboard(sep=";", index=False), pdf.to_clipboard(sep=";", 
index=False)
         )
 
-    @unittest.skipIf(
-        LooseVersion(pd.__version__) >= LooseVersion("2.0.0"),
-        "TODO(SPARK-43561): Enable DataFrameConversionTests.test_to_latex for 
pandas 2.0.0.",
-    )
     def test_to_latex(self):
         pdf = self.pdf
         psdf = self.psdf
diff --git a/python/pyspark/pandas/tests/test_series_conversion.py 
b/python/pyspark/pandas/tests/test_series_conversion.py
index 757da167250..b0a97b0a6f8 100644
--- a/python/pyspark/pandas/tests/test_series_conversion.py
+++ b/python/pyspark/pandas/tests/test_series_conversion.py
@@ -49,10 +49,6 @@ class SeriesConversionTestsMixin:
             psser.to_clipboard(sep=",", index=False), 
pser.to_clipboard(sep=",", index=False)
         )
 
-    @unittest.skipIf(
-        LooseVersion(pd.__version__) >= LooseVersion("2.0.0"),
-        "TODO(SPARK-43458): Enable SeriesConversionTests.test_to_latex for 
pandas 2.0.0.",
-    )
     def test_to_latex(self):
         pser = self.pser
         psser = self.psser


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

Reply via email to