Restore lost coverage pragma

This commit is contained in:
Florian Bruhin 2022-03-30 19:01:32 +02:00
parent 0d1e90e3f4
commit 4786e1edfa
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ class GUIProcess(QObject):
# https://bugreports.qt.io/browse/QTBUG-44769
# but we pre-resolve the executable in Python, which also checks if it's
# runnable.
if self.resolved_cmd is None:
if self.resolved_cmd is None: # pragma: no branch
msg += f'\nHint: Make sure {self.cmd!r} exists and is executable'
if version.is_flatpak():
msg += ' inside the Flatpak container'