code: def test_three_related_w_c_wout_a(three_family_with_trials, capsys):
      """Test three related experiments with --collapse."""
      orion.core.cli.main(["status", "--collapse"])
  
      captured = capsys.readouterr().out
  
      expected = """\
  test_double_exp-v1
  ==================
  status         quantity
  -----------  ----------
  broken                1
  completed             1
  interrupted           1
  new                   3
  reserved              1
  suspended             1
  
  
  """
  
      assert captured == expected
  
imports: import os
  import pytest
  import yaml
  import orion.core.cli
  from orion.core.io.experiment_builder import ExperimentBuilder
  from orion.testing.state import OrionState
label_desc: Use image node_id 25 for calling a global function with example usage: test_three_related_w_c_wout_a(three_family_with_trials, capsys) without return types