Skip to content

Commit 6326446

Browse files
committed
no cover anonymous expr in filter
1 parent 44cb754 commit 6326446

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

narwhals/_dask/expr.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ def filter(self: Self, *predicates: Any) -> Self:
782782
expr = plx.all_horizontal(*predicates)
783783

784784
def func(df: DaskLazyFrame) -> list[Any]:
785-
if self._output_names is None:
785+
if self._output_names is None: # pragma: no cover
786786
msg = (
787787
"Anonymous expressions are not supported in filter.\n"
788788
"Instead of `nw.all()`, try using a named expression, such as "

0 commit comments

Comments
 (0)