changeset 46320 | ef771d329961 |
parent 46264 | 7149fb17ff72 |
child 46325 | e5e6282fa66a |
--- a/tests/hghave.py Wed Dec 09 00:51:35 2020 -0500 +++ b/tests/hghave.py Sun Jan 17 02:50:26 2021 -0500 @@ -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