Skip to content

Commit

Permalink
fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennebacher committed Jan 11, 2025
1 parent 4a3f28c commit 13c49f0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from __future__ import annotations

from typing import Any

import pytest

import polars as pl
Expand Down Expand Up @@ -1858,7 +1860,7 @@ def test_escape_regex() -> None:
("NFKD", ["012", "KADOKAWA"]),
],
)
def test_string_normalize(form: str, expected_data: list[str | None]) -> None:
def test_string_normalize(form: Any, expected_data: list[str | None]) -> None:
s = pl.Series(["01²", "KADOKAWA"], dtype=pl.String) # noqa: RUF001
res = s.str.normalize(form)
expected_s = pl.Series(expected_data, dtype=pl.String)
Expand Down

0 comments on commit 13c49f0

Please sign in to comment.