def METHOD_NAME(monkeypatch, qtbot, tmp_path):
    with (tmp_path / IGNORE_FILE).open("w") as f_p:
        f_p.write(date.today().isoformat())
    monkeypatch.setattr(state_store, "save_folder", tmp_path)
    def urlopen_mock(url):
        raise RuntimeError
    monkeypatch.setattr(urllib.request, "urlopen", urlopen_mock)
    chk_thr = check_version.CheckVersionThread()
    chk_thr.run()