Skip to content

Commit

Permalink
fail for old pandas
Browse files Browse the repository at this point in the history
  • Loading branch information
FBruzzesi committed Jan 18, 2025
1 parent e5493e1 commit 7899103
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/selectors_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

import narwhals.stable.v1 as nw
import narwhals.stable.v1.selectors as ncs
from tests.utils import PANDAS_VERSION
from tests.utils import PYARROW_VERSION
from tests.utils import Constructor
from tests.utils import assert_equal_data
Expand Down Expand Up @@ -82,6 +83,7 @@ def test_datetime(constructor: Constructor, request: pytest.FixtureRequest) -> N
or "dask" in str(constructor)
or ("pyarrow_table" in str(constructor) and PYARROW_VERSION < (12,))
or ("pyarrow" in str(constructor) and is_windows())
or ("pandas" in str(constructor) and PANDAS_VERSION < (2,))
):
request.applymarker(pytest.mark.xfail)

Expand Down

0 comments on commit 7899103

Please sign in to comment.