Skip to content

Commit

Permalink
[SPARK-43458][SPARK-43561][PS][TESTS] Enable test_to_latex for (Ser…
Browse files Browse the repository at this point in the history
…ies|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 <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
  • Loading branch information
itholic authored and dongjoon-hyun committed Sep 17, 2023
1 parent 804f741 commit 948fa0e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions python/pyspark/pandas/tests/test_dataframe_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,6 @@ def test_to_clipboard(self):
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
Expand Down
4 changes: 0 additions & 4 deletions python/pyspark/pandas/tests/test_series_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ def test_to_clipboard(self):
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
Expand Down

0 comments on commit 948fa0e

Please sign in to comment.