diff --git a/test/test_output.py b/test/test_output.py index 8ba3645..a50de38 100644 --- a/test/test_output.py +++ b/test/test_output.py @@ -62,6 +62,8 @@ class TestOutput(object): output_spy.begin() out.fail('fail color') assert output_spy.flush() == [u'fail color'] + if not out.colors_supported: + return # test with colors out.colors = True output_spy.begin()