Skip to content

Commit

Permalink
skip broken tests for now
Browse files Browse the repository at this point in the history
  • Loading branch information
coastalwhite committed Dec 16, 2024
1 parent 809e49b commit beed4e1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions py-polars/tests/unit/interchange/test_roundtrip.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
from polars.testing import assert_frame_equal, assert_series_equal
from polars.testing.parametric import dataframes

skip_if_broken_pandas_version = pytest.mark.skipif(
pd.__version__.startswith('2'), reason="bug. see #20316"
)

if TYPE_CHECKING:
from polars._typing import PolarsDataType

Expand Down Expand Up @@ -140,6 +144,7 @@ def test_from_dataframe_pyarrow_zero_copy_parametric(df: pl.DataFrame) -> None:
assert_frame_equal(result, df)


@skip_if_broken_pandas_version
@given(
dataframes(
allowed_dtypes=protocol_dtypes,
Expand All @@ -156,6 +161,7 @@ def test_from_dataframe_pandas_parametric(df: pl.DataFrame) -> None:
assert_frame_equal(result, df, categorical_as_str=True)


@skip_if_broken_pandas_version
@given(
dataframes(
allowed_dtypes=protocol_dtypes,
Expand Down

0 comments on commit beed4e1

Please sign in to comment.