Skip to content

Commit 8e0e64f

Browse files
fix
1 parent 4ae5323 commit 8e0e64f

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

tests/test_performance.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,12 @@ def test_element_wise_comparison_slower_than_eq_missing_for_list_columns() -> No
9494

9595
col_left = f"val_{Side.LEFT}"
9696
col_right = f"val_{Side.RIGHT}"
97-
base_list = list(range(list_len))
98-
df = pl.LazyFrame(
97+
df = pl.DataFrame(
9998
{
100-
col_left: pl.repeat(pl.lit(base_list), n_rows),
101-
col_right: pl.repeat(pl.lit(base_list), n_rows),
99+
col_left: [list(range(list_len)) for _ in range(n_rows)],
100+
col_right: [list(range(list_len)) for _ in range(n_rows)],
102101
}
103-
).collect()
102+
)
104103

105104
times_eq = []
106105
times_cond = []

0 commit comments

Comments
 (0)