code: def test_fmt_series(
      capfd: pytest.CaptureFixture[str],
      expected: str,
      values: list[Any],
  ) -> None:
      s = pl.Series(name="foo", values=values)
      print(s)
      out, err = capfd.readouterr()
      assert out == expected
  
file_path: polars/py-polars/tests/unit/test_format.py
imports: from __future__ import annotations
  from decimal import Decimal
  from typing import Any, Iterator
  import pytest
  import polars
  from polars import ComputeError
label_desc: Use image node_id 2 for calling a global function with example usage: test_fmt_series(capfd, expected, values) without return types