Skip to content

Commit 0e12138

Browse files
authored
test: unxfail test_unary for dask (#1174)
1 parent 2e7afa5 commit 0e12138

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

tests/expr_and_series/unary_test.py

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
from typing import Any
22

3-
import pytest
4-
53
import narwhals.stable.v1 as nw
64
from tests.utils import Constructor
75
from tests.utils import compare_dicts
86

97

10-
def test_unary(constructor: Constructor, request: pytest.FixtureRequest) -> None:
11-
if "dask" in str(constructor):
12-
request.applymarker(pytest.mark.xfail)
8+
def test_unary(constructor: Constructor) -> None:
139
data = {"a": [1, 3, 2], "b": [4, 4, 6], "z": [7.0, 8, 9]}
1410
result = (
1511
nw.from_native(constructor(data))
@@ -20,7 +16,8 @@ def test_unary(constructor: Constructor, request: pytest.FixtureRequest) -> None
2016
z_min=nw.col("z").min(),
2117
z_max=nw.col("z").max(),
2218
)
23-
.select(nw.col("a_mean", "a_sum", "b_nunique", "z_min", "z_max").unique())
19+
.unique(["a_mean", "a_sum", "b_nunique", "z_min", "z_max"])
20+
.select(["a_mean", "a_sum", "b_nunique", "z_min", "z_max"])
2421
)
2522
expected = {
2623
"a_mean": [2],

0 commit comments

Comments
 (0)