code: def test_series_concat_err(how: ConcatMethod) -> None:
      s = pl.Series([1, 2, 3])
      with pytest.raises(
          ValueError,
          match="Series only supports 'vertical' concat strategy",
      ):
          pl.concat([s, s], how=how)
  
imports: from __future__ import annotations
  import io
  from datetime import date, datetime, time
  from decimal import Decimal
  from typing import TYPE_CHECKING, Any
  import numpy
  import pytest
  import polars
  from polars.datatypes.convert import dtype_to_py_type
  from polars.exceptions import InvalidOperationError
label_desc: Use image node_id 19 for calling a global function with example usage: test_series_concat_err(how) without return types