logger: don't cover tty code

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-08-04 19:59:23 +03:00
parent baac7a16bd
commit 75a6352d3d
+1 -1
View File
@@ -62,7 +62,7 @@ class Logger(object):
header = ''
footer = ''
if sys.stdout.isatty():
if sys.stdout.isatty(): # pragma: no cover
header = Logger.COLOR_MAP.get(typ.lower(), '')
footer = colorama.Style.RESET_ALL