code: def test_run(capsys: Capture) -> None:
      main(["bokeh", "info"])
      out, err = capsys.readouterr()
      lines = out.split("\n")
      assert len(lines) == 10
      assert lines[0].startswith("Python version")
      assert lines[1].startswith("IPython version")
      assert lines[2].startswith("Tornado version")
      assert lines[3].startswith("Bokeh version")
      assert lines[4].startswith("BokehJS static")
      assert lines[5].startswith("node.js version")
      assert lines[6].startswith("npm version")
      assert lines[7].startswith("jupyter_bokeh version")
      assert lines[8].startswith("Operating system")
      assert lines[9] == ""
      assert err == ""
  
file_path: bokeh/tests/unit/bokeh/command/subcommands/test_info.py
imports: from __future__ import annotations
  import pytest
  from os.path import join
  from typing import Any
  from bokeh.command.bootstrap import main
  from bokeh.command.subcommand import Argument
  from tests.support.util.types import Capture
  import bokeh.command.subcommands.info
label_desc: Use image node_id 5 for calling a global function with example usage: test_run(capsys) without return types