do not cover default returns

This commit is contained in:
Matthias 2022-05-03 23:06:38 +02:00
parent 1522d330fa
commit e95c3e0948
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -75,7 +75,7 @@ def handle_error(error, do_raise: bool = True, do_log: bool = True, log_name: st
path_parts.remove('plugin')
path_parts.pop(0)
else:
path_parts.remove('plugins')
path_parts.remove('plugins') # pragma: no cover
package_name = '.'.join(path_parts)
@ -135,7 +135,7 @@ def check_git_version():
except ValueError: # pragma: no cover
pass
return False
return False # pragma: no cover
class GitStatus: