def skip_if_windows(reason):
def decorator(func):<EOL><INDENT>return unittest.skipIf(<EOL>platform.system() not in ['<STR_LIT>', '<STR_LIT>'], reason)(func)<EOL><DEDENT>return decorator<EOL>
Decorator to skip tests that should not be run on windows.

    Example usage:

        @skip_if_windows("Not valid")
        def test_some_non_windows_stuff(self):
            self.assertEqual(...)