def onlyOnPOSIX(testMethod):
 if (resource is None):
  testMethod.skip = 'Test only applies to POSIX platforms.'
 return testMethod

def onlyOnPOSIX ( testMethod ) : if ( resource is None ) : testMethod . skip = 'Test only applies to POSIX platforms.' return testMethod
only run this test on posix platforms .