Skip to content

Commit

Permalink
Disable color tests on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
li-wjohnson committed Sep 9, 2020
1 parent 598b34c commit 3b50f15
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_halo.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def test_basic_spinner(self):
self.assertEqual(output[1], '{} foo'.format(frames[1]))
self.assertEqual(output[2], '{} foo'.format(frames[2]))

@unittest.skipIf(sys.platform.startswith("win"), "ANSI not supported on Windows")
def test_text_spinner_color(self):
"""Test basic spinner with available colors color (both spinner and text)
"""
Expand Down Expand Up @@ -590,6 +591,7 @@ def test_animation_setter(self):
spinner.animation = "marquee"
self.assertEquals("marquee", spinner.animation)

@unittest.skipIf(sys.platform.startswith("win"), "ANSI not supported on Windows")
def test_spinner_color(self):
"""Test ANSI escape characters are present
"""
Expand Down

0 comments on commit 3b50f15

Please sign in to comment.