def METHOD_NAME():
    def _assert_report_section(lines, start_line, section_name):
        i = start_line
        assert lines[i] == "%s:" % section_name
        i += 1
        match_obj = re.match(r"=+$", lines[i].strip())
        assert match_obj is not None
        i += 1
        while i < len(lines) - 1 and re.match(r"=+$", lines[i + 1]) is None:
            while i < len(lines) and lines[i] != "":
                i += 1
            while i < len(lines) and lines[i] == "":
                i += 1
        return i
    return _assert_report_section