Skip to content

Commit

Permalink
[SPARK-43348][PYTHON][TESTS][FOLLOW-UP] Skip the day-time-interval te…
Browse files Browse the repository at this point in the history
…st only with PyPy 3.8

### What changes were proposed in this pull request?

This PR is a followup of apache#41024 that skips the test only with PyPy 3.8.

### Why are the changes needed?

To narrow the scope of testing skipped.

### Does this PR introduce _any_ user-facing change?

No, test-only.

### How was this patch tested?

CI in this PR should verify the change.

Closes apache#41085 from HyukjinKwon/SPARK-43354-followup.

Authored-by: Hyukjin Kwon <gurwls223@apache.org>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
  • Loading branch information
HyukjinKwon authored and LuciferYang committed May 10, 2023
1 parent a727f39 commit f71fcf0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions python/pyspark/sql/tests/test_dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

import platform
from decimal import Decimal
import os
import pydoc
Expand Down Expand Up @@ -1455,7 +1455,10 @@ def test_create_dataframe_from_pandas_with_dst(self):
time.tzset()

# TODO(SPARK-43354): Re-enable test_create_dataframe_from_pandas_with_day_time_interval
@unittest.skip("Fails in PyPy Python 3.8, should enable.")
@unittest.skipIf(
"pypy" in platform.python_implementation().lower(),
"Fails in PyPy Python 3.8, should enable.",
)
def test_create_dataframe_from_pandas_with_day_time_interval(self):
# SPARK-37277: Test DayTimeIntervalType in createDataFrame without Arrow.
import pandas as pd
Expand Down

0 comments on commit f71fcf0

Please sign in to comment.