def _prev_index(self, s):
        self.set_index(max(0, self.index - 1))
def install_autopkgtest_results_formatter():
    subprocess.check_call(
        ["sudo", "snap", "install", "autopkgtest-results-formatter", "--edge"]
    )