Skip to content

Commit

Permalink
Update py-polars/tests/unit/operations/namespaces/test_strptime.py
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego authored Jun 10, 2024
1 parent 733ccdf commit dc75b4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def test_infer_tz_aware_with_utc(time_unit: TimeUnit) -> None:
assert result.item() == datetime(2020, 1, 2, 2, 0, tzinfo=timezone.utc)


def test_infer_tz_aware_raises() -> None:
def test_str_to_datetime_infer_tz_aware() -> None:
result = (
pl.Series(["2020-01-02T04:00:00+02:00"])
.str.to_datetime(time_unit="us", time_zone="Europe/Vienna")
Expand Down

0 comments on commit dc75b4c

Please sign in to comment.