tests/hghave.py
changeset 44264 d3f776c4760e
parent 44119 5b38c2ab6ad3
child 44279 e48a996d12bc
--- a/tests/hghave.py	Wed Feb 05 15:15:18 2020 -0500
+++ b/tests/hghave.py	Wed Jan 22 03:17:06 2020 +0530
@@ -685,7 +685,7 @@
 
         curses.COLOR_BLUE
         return matchoutput('test -x "`which tic`"', br'')
-    except ImportError:
+    except (ImportError, AttributeError):
         return False