def METHOD_NAME():
    exc_args = ('foo bar', 'partial output', 'partial error', 10)
    e = exc.SpawnedProcessTimeout(*exc_args)
    with pytest.raises(exc.ReframeError,
                       match=(r"command 'foo bar' timed out after 10s:\n"
                              r"--- stdout ---\n"
                              r'partial output\n'
                              r"--- stdout ---\n"
                              r"--- stderr ---\n"
                              r"partial error\n"
                              r"--- stderr ---")):
        raise e