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 "