Skip to content

Commit

Permalink
Remove broken test
Browse files Browse the repository at this point in the history
This test never actually tested what it claimed to, and it's broken on Win10, so just remove it.
  • Loading branch information
njsmith committed Oct 17, 2022
1 parent bab6f93 commit 66b76ed
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions colorama/tests/initialise_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,6 @@ def testInitWrapOffDoesntWrapOnWindows(self):
def testInitWrapOffIncompatibleWithAutoresetOn(self):
self.assertRaises(ValueError, lambda: init(autoreset=True, wrap=False))

@patch('colorama.ansitowin32.winterm', None)
@patch('colorama.ansitowin32.winapi_test', lambda *_: True)
def testInitOnlyWrapsOnce(self):
with osname("nt"):
init()
init()
self.assertWrapped()

@patch('colorama.win32.SetConsoleTextAttribute')
@patch('colorama.initialise.AnsiToWin32')
def testAutoResetPassedOn(self, mockATW32, _):
Expand Down

0 comments on commit 66b76ed

Please sign in to comment.