def METHOD_NAME(three_experiments, monkeypatch, capsys):
    """Test that only the specified experiment is printed, and with its child."""
    monkeypatch.chdir(os.path.dirname(os.path.abspath(__file__)))
    orion.core.cli.main(["list", "--name", "test_double_exp"])
    captured = capsys.readouterr().out
    assert (
        captured
        == """\
 test_double_exp-v1┐
                   └test_double_exp_child-v1