Skip to content

Commit

Permalink
please mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
camriddell committed Jan 14, 2025
1 parent 9166fe3 commit b97d613
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/expr_and_series/dt/timestamp_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from __future__ import annotations

from datetime import datetime
from typing import Any
from typing import Literal

import hypothesis.strategies as st
Expand Down Expand Up @@ -221,7 +222,7 @@ def test_timestamp_hypothesis(
import polars as pl

@nw.narwhalify
def func(s: nw.Series) -> nw.Series:
def func(s: nw.Series) -> Any:
return s.dt.timestamp(time_unit)

result_pl = func(pl.Series([inputs], dtype=pl.Datetime(starting_time_unit)))
Expand Down

0 comments on commit b97d613

Please sign in to comment.