Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
petrosbar committed Apr 7, 2024
1 parent 3a36b11 commit 4717231
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion py-polars/tests/unit/datatypes/test_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,8 @@ def test_list_of_series_with_nulls() -> None:
([[1], [], [None], None], pl.List, pl.List(pl.Int64)),
],
)
def test_list_anyvalue_empty_list(values, dtype, full_dtype) -> None:
def test_list_anyvalue_empty_list(
values: list[Any], dtype: PolarsDataType, full_dtype: PolarsDataType
) -> None:
s = pl.Series("a", values, dtype=dtype)
assert_series_equal(s, pl.Series("a", values, dtype=full_dtype))

0 comments on commit 4717231

Please sign in to comment.