diff -r a00a7951b20c -r d7f7f1860f00 tests/hghave.py --- 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__