#NEWLINE# def _mark_method_skipped( meth , reason ) : #NEWLINE# #INDENT# 'Mark method as skipped by replacing the actual method with wrapper\n    that raises the testtools.testcase.TestSkipped exception.\n    ' #NEWLINE# @ functools . wraps ( meth ) #NEWLINE# def wrapper( * args , **kwargs ) : #NEWLINE# #INDENT# raise testtools . testcase . TestSkipped ( reason ) #NEWLINE# #UNINDENT# return wrapper