code: def test_list_slice_5866() -> None:
      vals = [[1, 2, 3, 4], [10, 2, 1]]
      s = pl.Series("a", vals)
      assert s.list.slice(1).to_list() == [[2, 3, 4], [2, 1]]
  
imports: from __future__ import annotations
  from datetime import date, datetime
  import numpy
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 20 for calling a global function with example usage: test_list_slice_5866() without return types