Fix coverage

This commit is contained in:
Florian Bruhin 2021-01-30 16:43:05 +01:00
parent 11b6d12186
commit d49f6b902b
2 changed files with 1 additions and 3 deletions

View File

@ -204,7 +204,7 @@ def _resource_keyerror_workaround() -> Iterator[None]:
try:
yield
except KeyError as e:
raise FileNotFoundError(str(e))
raise FileNotFoundError(str(e)) # pragma: no cover
def _glob_resources(

View File

@ -77,8 +77,6 @@ PERFECT_FILES = [
'qutebrowser/api/message.py'),
(None,
'qutebrowser/api/qtutils.py'),
(None,
'qutebrowser/qt.py'),
('tests/unit/browser/webkit/test_cache.py',
'qutebrowser/browser/webkit/cache.py'),