code: def test_enum_non_existent() -> None:
      with pytest.raises(
          pl.ComputeError,
          match=("value 'c' is not present in Enum"),
      ):
          pl.Series(
              [None, "a", "b", "c"],
              dtype=pl.Enum(categories=["a", "b"]),
          )
  
imports: import operator
  from datetime import date
  from textwrap import dedent
  from typing import Any, Callable
  import pytest
  import polars
  from polars import StringCache
  from polars.testing import assert_series_equal
label_desc: Use image node_id 2 for calling a global function with example usage: test_enum_non_existent() without return types