def cursorAtSpaceEnd(block):
            cursor = QTextCursor(block)
            cursor.setPosition(block.position() + len(blockIndentation(block)))
            return cursor
def install_autopkgtest_results_formatter():
    subprocess.check_call(
        ["sudo", "snap", "install", "autopkgtest-results-formatter", "--edge"]
    )