code: def test_getitem_errs() -> None:
      df = pl.DataFrame({"a": [1, 2, 3]})
  
      with pytest.raises(
          TypeError,
          match=r"cannot use `__getitem__` on DataFrame with item {'some'} of type 'set'",
      ):
          df[{"some"}]  # type: ignore[call-overload]
  
      with pytest.raises(
          TypeError,
          match=r"cannot use `__getitem__` on Series of dtype Int64 with argument {'strange'} of type 'set'",
      ):
          df["a"][{"strange"}]  # type: ignore[call-overload]
  
      with pytest.raises(
          TypeError,
          match=r"cannot use `__setitem__` on DataFrame with key {'some'} of type 'set' and value 'foo' of type 'str'",
      ):
          df[{"some"}] = "foo"
  
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 12 for calling a global function with example usage: test_getitem_errs() without return types