code: def test_no_subcommand(capsys: Capture) -> None:
      with pytest.raises(SystemExit):
          main(["bokeh"])
      out, err = capsys.readouterr()
      assert (
          err
          == "ERROR: Must specify subcommand, one of: build, info, init, json, sampledata, secret, serve or static\n"
      )
      assert out == ""
  
file_path: bokeh/tests/unit/bokeh/command/test_bootstrap.py
imports: from __future__ import annotations
  import pytest
  from bokeh import __version__
  from tests.support.util.types import Capture
  from bokeh.command.bootstrap import main
label_desc: Use image node_id 2 for calling a global function with example usage: test_no_subcommand(capsys) without return types