diff --git a/tests/spark_like_test.py b/tests/spark_like_test.py index 4aae65409..9fb69ce5d 100644 --- a/tests/spark_like_test.py +++ b/tests/spark_like_test.py @@ -15,7 +15,6 @@ import narwhals.stable.v1 as nw from narwhals.exceptions import ColumnNotFoundError -from tests.utils import ConstructorEager from tests.utils import assert_equal_data if TYPE_CHECKING: @@ -373,25 +372,6 @@ def test_any_all(pyspark_constructor: Constructor) -> None: assert_equal_data(result, expected) -def test_any_all_series(constructor_eager: ConstructorEager) -> None: - df = nw.from_native( - constructor_eager( - { - "a": [True, False, True], - "b": [True, True, True], - "c": [False, False, False], - } - ), - eager_only=True, - ) - result = {"a": [df["a"].all()], "b": [df["b"].all()], "c": [df["c"].all()]} - expected = {"a": [False], "b": [True], "c": [False]} - assert_equal_data(result, expected) - result = {"a": [df["a"].any()], "b": [df["b"].any()], "c": [df["c"].any()]} - expected = {"a": [True], "b": [True], "c": [False]} - assert_equal_data(result, expected) - - # copied from tests/expr_and_series/count_test.py def test_count(pyspark_constructor: Constructor) -> None: data = {"a": [1, 2, 3], "b": [4, None, 6], "z": [7.0, None, None]}