From 63264469dd79736215c8ada0aa343046bb5ec092 Mon Sep 17 00:00:00 2001 From: FBruzzesi Date: Mon, 16 Sep 2024 15:11:16 +0200 Subject: [PATCH] no cover anonymous expr in filter --- narwhals/_dask/expr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/narwhals/_dask/expr.py b/narwhals/_dask/expr.py index c2a5b168d..d4e1e623a 100644 --- a/narwhals/_dask/expr.py +++ b/narwhals/_dask/expr.py @@ -782,7 +782,7 @@ def filter(self: Self, *predicates: Any) -> Self: expr = plx.all_horizontal(*predicates) def func(df: DaskLazyFrame) -> list[Any]: - if self._output_names is None: + if self._output_names is None: # pragma: no cover msg = ( "Anonymous expressions are not supported in filter.\n" "Instead of `nw.all()`, try using a named expression, such as "