code: def test_experiment_same_name_wout_exv_w_c_w_child_w_name(
      three_experiments_family_same_name, capsys
  ):
      """Test status name collapsed with two experiments having the same name and one with a child."""
      orion.core.cli.main(
          ["status", "--name", "test_single_exp", "--collapse"]
      )
  
      captured = capsys.readouterr().out
  
      expected = """\
  test_single_exp-v2
  ==================
  empty
  
  
  """
  
      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 39 for calling a global function with example usage: test_experiment_same_name_wout_exv_w_c_w_child_w_name(three_experiments_family_same_name, capsys) without return types