Skip to content

Commit

Permalink
compat
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Jan 19, 2025
1 parent 8741aec commit b4d5366
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tests/expr_and_series/concat_str_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import pytest

import narwhals.stable.v1 as nw
from tests.utils import POLARS_VERSION
from tests.utils import Constructor
from tests.utils import assert_equal_data

Expand All @@ -21,8 +22,15 @@
],
)
def test_concat_str(
constructor: Constructor, *, ignore_nulls: bool, expected: list[str]
constructor: Constructor,
*,
ignore_nulls: bool,
expected: list[str],
request: pytest.FixtureRequest,
) -> None:
if "polars" in str(constructor) and POLARS_VERSION < (1, 0, 0):
# nth only available after 1.0
request.applymarker(pytest.mark.xfail)
df = nw.from_native(constructor(data))
result = (
df.select(
Expand Down

0 comments on commit b4d5366

Please sign in to comment.