Skip to content

Commit

Permalink
no cover anonymous expr in filter
Browse files Browse the repository at this point in the history
  • Loading branch information
FBruzzesi committed Sep 16, 2024
1 parent 44cb754 commit 6326446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion narwhals/_dask/expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit 6326446

Please sign in to comment.