'C{reactor.getWriters} includes descriptors that are filesystem files.'

def test_getWriters(self):

    reactor = self.buildReactor()
    self.addCleanup(self.unbuildReactor, reactor)
    self.f = f = open(self.mktemp(), 'wb')
    stdio = StandardIO(Protocol(), stdout=f.fileno(), stdin=self.extraFile.fileno(), reactor=reactor)
    self.assertNotIn(stdio._writer, reactor.getWriters())
    stdio._writer.startWriting()
    self.assertIn(stdio._writer, reactor.getWriters())
