code: def test_list_concat() -> None:
      s0 = pl.Series("a", [[1, 2]])
      s1 = pl.Series("b", [[3, 4, 5]])
      expected = pl.Series("a", [[1, 2, 3, 4, 5]])
  
      out = s0.list.concat([s1])
      assert_series_equal(out, expected)
  
      out = s0.list.concat(s1)
      assert_series_equal(out, expected)
  
      df = pl.DataFrame([s0, s1])
      assert_series_equal(
          df.select(pl.concat_list(["a", "b"]).alias("a"))["a"],
          expected,
      )
      assert_series_equal(
          df.select(pl.col("a").list.concat("b").alias("a"))["a"],
          expected,
      )
      assert_series_equal(
          df.select(pl.col("a").list.concat(["b"]).alias("a"))["a"],
          expected,
      )
  
imports: from __future__ import annotations
  from datetime import date, datetime
  from typing import TYPE_CHECKING
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 7 for calling a global function with example usage: test_list_concat() without return types