def skip_if_windows(reason):
 def decorator(func):
  return unittest.skipIf((platform.system() not in ['Darwin', 'Linux']), reason)(func)
 return decorator

def skip_if_windows ( reason ) : def decorator ( func ) : return unittest . skipIf ( ( platform . system ( ) not in [ 'Darwin' , 'Linux' ] ) , reason ) ( func ) return decorator
decorator to skip tests that should not be run on windows .