def _enum(**enums):
  return type("Enum", (), enums)
L{Platform.isMacOSX} can only return C{True} if L{Platform.getType}
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/ext/mapreduce/util.py/_enum--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/python/test/test_runtime.py/PlatformTests.test_isMacOSXConsistency