def METHOD_NAME(problem):  # lint-amnesty, pylint: disable=missing-function-docstring
    # We're going to trap stdout/stderr from the problems (yes, some print)
    old_stdout, old_stderr = sys.stdout, sys.stderr
    try:
        sys.stdout = BytesIO()
        sys.stderr = BytesIO()
        check_that_suggested_answers_work(problem)
        check_that_blanks_fail(problem)
        log_captured_output(sys.stdout,
                            "captured stdout from {0}".format(problem))
        log_captured_output(sys.stderr,
                            "captured stderr from {0}".format(problem))
    except Exception as e:  # lint-amnesty, pylint: disable=broad-except
        log.exception(e)
    finally:
        sys.stdout, sys.stderr = old_stdout, old_stderr