code: def test_enum_from_schema_argument() -> None:
      df = pl.DataFrame(
          {"col1": ["a", "b", "c"]},
          schema={"col1": pl.Enum(["a", "b", "c"])},
      )
      assert df.get_column("col1").dtype == pl.Enum
      assert (
          dedent(
              """
          │ col1 │
          │ ---  │
          │ enum │
          ╞══════╡
          """
          )
          in str(df)
      )
  
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 3 for calling a global function with example usage: test_enum_from_schema_argument() without return types