def CheckFileType(file, expected):
  proc = subprocess.Popen(['lipo', '-info', file], stdout=subprocess.PIPE)
  o = proc.communicate()[0].strip()
  assert not proc.returncode
  if not o in expected:
    print 'File: Expected %s, got %s' % (expected, o)
    test.fail_test()
dataset/ETHPy150Open adblockplus/gyp/test/ios/gyptest-per-config-settings.py/CheckFileType/swapped operands of `in`