Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support mintty (MSYS/Cygwin terminals) #226

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Name update
  • Loading branch information
3tilley committed Oct 29, 2021
commit 142d535d44e525af0ab6d5e86e6345ca3cdc4bd5
2 changes: 1 addition & 1 deletion colorama/tests/isatty_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def test_isattyCorrectForMintty(self, mock_fn):
mock_fn.assert_called_once()
SSE4 marked this conversation as resolved.
Show resolved Hide resolved

@patch("colorama.ansitowin32.is_msys_cygwin_tty", return_value=True)
def test_isattyCorrectForMintty(self, mock_fn):
def test_isattyCorrectForNonMintty(self, mock_fn):
self.assertTrue(is_a_tty(StreamNonTTY()))
self.assertTrue(is_a_tty(StreamTTY()))
mock_fn.assert_called_once()
Expand Down