Exclude some parts from coverage that can't really be tested

This commit is contained in:
Matthias
2021-09-05 09:14:44 +02:00
parent 63f2494936
commit 4e049f65f2
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ if __version__ == 'develop':
# subprocess.check_output(
# ['git', 'log', '--format="%h"', '-n 1'],
# stderr=subprocess.DEVNULL).decode("utf-8").rstrip().strip('"')
except Exception:
except Exception: # pragma: no cover
# git not available, ignore
try:
# Try Fallback to freqtrade_commit file (created by CI while building docker image)