tests/hghave.py
changeset 22575 d7f7f1860f00
parent 22198 77142de48ae4
child 22579 36a940d82f88
--- a/tests/hghave.py	Fri Sep 26 02:19:47 2014 +0200
+++ b/tests/hghave.py	Fri Sep 26 02:19:48 2014 +0200
@@ -332,6 +332,10 @@
 def has_aix():
     return sys.platform.startswith("aix")
 
+@check("osx", "OS X")
+def has_osx():
+    return sys.platform == 'darwin'
+
 @check("absimport", "absolute_import in __future__")
 def has_absimport():
     import __future__