code: def test_window_functions_list_types() -> None:
      df = pl.DataFrame(
          {
              "col_int": [1, 1, 2, 2],
              "col_list": [[1], [1], [2], [2]],
          }
      )
      assert (
          df.select(pl.col("col_list").shift(1).alias("list_shifted"))
      )["list_shifted"].to_list() == [None, [1], [1], [2]]
  
      assert (
          df.select(pl.col("col_list").shift().alias("list_shifted"))
      )["list_shifted"].to_list() == [None, [1], [1], [2]]
  
      assert (
          df.select(
              pl.col("col_list")
              .shift(fill_value=[])
              .alias("list_shifted")
          )
      )["list_shifted"].to_list() == [[], [1], [1], [2]]
  
imports: from __future__ import annotations
  import numpy
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 11 for calling a global function with example usage: test_window_functions_list_types() without return types