code: def test_enums_contents() -> None:
      assert [
          name
          for name in dir(bce)
          if isinstance(getattr(bce, name), bce.Enumeration)
      ] == [
          "Align",
          "AlternationPolicy",
          "Anchor",
          "AngleUnits",
          "AutosizeMode",
          "ButtonType",
          "CalendarPosition",
          "ContextWhich",
          "CoordinateUnits",
          "DashPattern",
          "DateFormat",
          "DatetimeUnits",
          "Dimension",
          "Dimensions",
          "Direction",
          "FlowMode",
          "FontStyle",
          "HAlign",
          "HatchPattern",
          "HatchPatternAbbreviation",
          "HoldPolicy",
          "HorizontalLocation",
          "ImageOrigin",
          "JitterRandomDistribution",
          "KeyModifier",
          "LabelOrientation",
          "LatLon",
          "LegendClickPolicy",
          "LegendLocation",
          "LineCap",
          "LineDash",
          "LineJoin",
          "Location",
          "MapType",
          "MarkerType",
          "NamedColor",
          "NumeralLanguage",
          "Orientation",
          "OutputBackend",
          "PaddingUnits",
          "Palette",
          "Place",
          "RenderLevel",
          "ResetPolicy",
          "ResolutionType",
          "RoundingFunction",
          "ScrollbarPolicy",
          "SelectionMode",
          "SizingMode",
          "SizingPolicy",
          "SortDirection",
          "SpatialUnits",
          "StartEnd",
          "StepMode",
          "TextAlign",
          "TextBaseline",
          "TextureRepetition",
          "ToolIcon",
          "TooltipAttachment",
          "TooltipFieldFormatter",
          "TrackPolicy",
          "VAlign",
          "VerticalAlign",
          "VerticalLocation",
      ]
  
imports: from __future__ import annotations
  import pytest
  from bokeh.colors import named
  from bokeh.palettes import __palettes__
  from tests.support.util.api import verify_all
  import bokeh.core.enums
label_desc: Use image node_id 2 for calling a global function with example usage: test_enums_contents() without return types