#NEWLINE# @ defer . inlineCallbacks #NEWLINE# def test_output( self ) : #NEWLINE# #INDENT# encoding = ( getattr ( sys . stdout , 'encoding' ) or 'utf-8' ) #NEWLINE# ( _ , out , _ ) = ( yield self . execute ( [ ] ) ) #NEWLINE# self . assertEqual ( out . strip ( ) . decode ( self ) , ( 'Scrapy %s' % scrapy . __version__ ) )