code: def test_array_invalid_operation() -> None:
      s = pl.Series(
          [[1, 2], [8, 9]],
          dtype=pl.Array(pl.Int32, 2),
      )
      with pytest.raises(
          InvalidOperationError,
          match=r"`sign` operation not supported for dtype `array\[",
      ):
          s.sign()
  
file_path: polars/py-polars/tests/unit/datatypes/test_array.py
imports: import datetime
  from typing import Any
  import pytest
  import polars
  from polars.exceptions import InvalidOperationError
  from polars.testing import assert_series_equal
label_desc: Use image node_id 4 for calling a global function with example usage: test_array_invalid_operation() without return types