Submitter | phabricator |
---|---|
Date | Jan. 17, 2021, 7:52 a.m. |
Message ID | <differential-rev-PHID-DREV-3lbzq6qxskoogi57hj24-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/48119/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/tests/hghave.py b/tests/hghave.py --- a/tests/hghave.py +++ b/tests/hghave.py @@ -708,6 +708,12 @@ import curses curses.COLOR_BLUE + + # Windows doesn't have a `tic` executable, but the windows_curses + # package is sufficient to run the tests without it. + if os.name == 'nt': + return True + return matchoutput('test -x "`which tic`"', br'') except (ImportError, AttributeError): return False