#NEWLINE# def test_getWriters( self ) : #NEWLINE# #INDENT# '\n        C{reactor.getWriters} includes descriptors that are filesystem files.\n        ' #NEWLINE# reactor = self . buildReactor ( ) #NEWLINE# self . addCleanup ( self . unbuildReactor , reactor ) #NEWLINE# self . f = f = open ( self . mktemp ( ) , 'wb' ) #NEWLINE# stdio = StandardIO ( Protocol ( ) , stdout = f . fileno ( ) , stdin = self . extraFile . fileno ( ) , reactor = stdio ) #NEWLINE# self . assertNotIn ( stdio . _writer , reactor . getWriters ( ) ) #NEWLINE# stdio . _writer . startWriting ( ) #NEWLINE# self . assertIn ( stdio . _writer , reactor . getWriters ( ) )