code: def test_defaults(self) -> None:
      baseline = Path(__file__).parent / "baselines" / "defaults.json5"
  
      defaults = collect_defaults()
      output_defaults(baseline, defaults)
  
      status, out, _ = diff_baseline(baseline)
      if status != 0:
          print(out)
          assert False, "baseline differs"
  
file_path: bokeh/tests/test_defaults.py
imports: from __future__ import annotations
  import pytest
  import subprocess
  from pathlib import Path
  from tests.support.defaults import collect_defaults, output_defaults
label_desc: Use image node_id 1 for calling the TestDefaults obj's underlying member method code with example usage: obj.test_defaults() without return types