code: def test_palettes_dir() -> None:
      assert "viridis" in dir(pal)
      assert "cividis" in dir(pal)
      assert "magma" in dir(pal)
      assert "inferno" in dir(pal)
      assert "turbo" in dir(pal)
      assert "__new__" not in dir(pal)
  
file_path: bokeh/tests/unit/bokeh/test_palettes.py
imports: from __future__ import annotations
  import pytest
  import bokeh.palettes
label_desc: Use image node_id 3 for calling a global function with example usage: test_palettes_dir() without return types