diff --git a/tests/spark_like_test.py b/tests/spark_like_test.py index 9fb69ce5d..7ea7addac 100644 --- a/tests/spark_like_test.py +++ b/tests/spark_like_test.py @@ -285,35 +285,6 @@ def test_allh_all(pyspark_constructor: Constructor) -> None: assert_equal_data(result, expected) -# copied from tests/expr_and_series/any_horizontal_test.py -@pytest.mark.parametrize("expr1", ["a", nw.col("a")]) -@pytest.mark.parametrize("expr2", ["b", nw.col("b")]) -def test_anyh(pyspark_constructor: Constructor, expr1: Any, expr2: Any) -> None: - data = { - "a": [False, False, True], - "b": [False, True, True], - } - df = nw.from_native(pyspark_constructor(data)) - result = df.select(any=nw.any_horizontal(expr1, expr2)) - - expected = {"any": [False, True, True]} - assert_equal_data(result, expected) - - -def test_anyh_all(pyspark_constructor: Constructor) -> None: - data = { - "a": [False, False, True], - "b": [False, True, True], - } - df = nw.from_native(pyspark_constructor(data)) - result = df.select(any=nw.any_horizontal(nw.all())) - expected = {"any": [False, True, True]} - assert_equal_data(result, expected) - result = df.select(nw.any_horizontal(nw.all())) - expected = {"a": [False, True, True]} - assert_equal_data(result, expected) - - # copied from tests/expr_and_series/sum_horizontal_test.py @pytest.mark.parametrize("col_expr", [nw.col("a"), "a"]) def test_sumh(pyspark_constructor: Constructor, col_expr: Any) -> None: