changeset 52019 | d1b54c152673 |
parent 51741 | e679697a6ca4 |
child 52058 | 73cf8b56c2f5 |
--- a/tests/hghave.py Wed Dec 28 21:33:44 2022 -0800 +++ b/tests/hghave.py Mon Feb 04 23:32:20 2019 -0800 @@ -738,6 +738,13 @@ return False +@check("gui", "whether a gui environment is available or not") +def has_gui(): + from mercurial.utils import procutil + + return procutil.gui() + + @check("test-repo", "running tests from repository") def has_test_repo(): t = os.environ["TESTDIR"]