def METHOD_NAME(caplog, capsys):
    @flow(log_prints=False)
    def test_flow():
        print("hello world!")
    @flow(log_prints=True)
    def parent_flow():
        return test_flow()
    parent_flow()
    assert "hello world!" not in caplog.text
    assert "hello world!" in capsys.readouterr().out