def _GetPlatform():
  platform_str = platform.system()
  assert platform_str in [LINUX, DARWIN]
  return platform_str
Returns a str like constants LINUX or DARWIN.
dataset/ETHPy150Open google/simian/src/simian/mac/client/network_detect.py/_GetPlatform