code: def test_index_expr_output_name_12244() -> None:
      df = pl.DataFrame({"A": [1, 2, 3]})
  
      out = df.rolling(pl.int_range(0, pl.count()), period="2i").agg(
          "A"
      )
      assert out.to_dict(as_series=False) == {
          "literal": [0, 1, 2],
          "A": [[1], [1, 2], [2, 3]],
      }
  
imports: from __future__ import annotations
  from datetime import date, datetime, timedelta
  from typing import TYPE_CHECKING
  import numpy
  import pytest
  from numpy import nan
  import polars
  from polars.exceptions import ComputeError
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 27 for calling a global function with example usage: test_index_expr_output_name_12244() without return types