From 75fc537656b9accaf8191ac8997b29d82c5c0dd4 Mon Sep 17 00:00:00 2001 From: Pavel Minaev Date: Wed, 10 Oct 2018 22:57:12 -0700 Subject: [PATCH] Disable colors on macOS as well. --- pytests/helpers/colors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytests/helpers/colors.py b/pytests/helpers/colors.py index bac77319..38a80bbe 100644 --- a/pytests/helpers/colors.py +++ b/pytests/helpers/colors.py @@ -7,7 +7,7 @@ from __future__ import print_function, with_statement, absolute_import import platform -if platform.system() == 'Windows': +if platform.system() != 'Linux': # pytest-timeout seems to be buggy wrt colorama when capturing output. # # TODO: re-enable after enabling proper ANSI sequence handling: