#NEWLINE# def test_stdinOut( self ) : #NEWLINE# #INDENT# '\n        L{main} reads from the C{stdin} attribute of the given C{sys} equivalent,\n        and writes rendered expressions to the C{stdout} attribute.\n        ' #NEWLINE# sys = FakeSys ( [ 'eliotfilter' , 'J[0]' ] , b'[1, 2]\n[4, 5]\n' ) #NEWLINE# main ( sys ) #NEWLINE# self . assertEqual ( sys . stdout . getvalue ( ) , b'1\n4\n' )