Skip to content

Commit f7ecc1c

Browse files
committed
dep check
1 parent 37e01a3 commit f7ecc1c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/_utils/test_narwhals_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ def test_make_lazy_with_all_dataframes(df: IntoDataFrame) -> None:
211211
assert type(result_from_collected) is type(df)
212212

213213

214+
@pytest.mark.skipif(not HAS_DEPS, reason="optional dependencies not installed")
214215
def test_undo_preserves_lazy_or_eager_type():
215216
"""Test that the undo callback returns the correct type (eager or lazy) matching the original input."""
216217
import polars as pl

0 commit comments

Comments
 (0)