#NEWLINE# def test_adds_skip( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# plugin = self . _make_one ( ) #NEWLINE# plugin . addError ( case . Test ( FakeTestCase ( ) ) , ( unittest . SkipTest , 'a reason' , None ) ) #NEWLINE# line = plugin . tracker . _test_cases [ 'FakeTestCase' ] [ 0 ] #NEWLINE# self . assertEqual ( plugin . directive . text , 'SKIP a reason' ) #NEWLINE# #UNINDENT# except AttributeError : #NEWLINE# #INDENT# self . assertTrue ( True , 'Pass because this Python does not support SkipTest.' )