code: def test_rolling_negative_offset_crossing_dst(
      time_zone: str | None,
  ) -> None:
      df = pl.DataFrame(
          {
              "datetime": pl.datetime_range(
                  datetime(2021, 11, 6),
                  datetime(2021, 11, 9),
                  "1d",
                  time_zone=time_zone,
                  eager=True,
              ),
              "value": [1, 4, 9, 155],
          }
      )
      result = df.rolling(
          index_column="datetime", period="2d", offset="-1d"
      ).agg(pl.col("value"))
      expected = pl.DataFrame(
          {
              "datetime": pl.datetime_range(
                  datetime(2021, 11, 6),
                  datetime(2021, 11, 9),
                  "1d",
                  time_zone=time_zone,
                  eager=True,
              ),
              "value": [[1, 4], [4, 9], [9, 155], [155]],
          }
      )
      assert_frame_equal(result, expected)
  
file_path: polars/py-polars/tests/unit/operations/test_rolling.py
imports: from __future__ import annotations
  from datetime import date, datetime
  from typing import TYPE_CHECKING, Any
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 5 for calling a global function with example usage: test_rolling_negative_offset_crossing_dst(time_zone) without return types