'Calling C{removeAll} on a reactor includes descriptors that are
filesystem files.'

def test_removeAll(self):

    reactor = self.buildReactor()
    self.addCleanup(self.unbuildReactor, reactor)
    path = self.mktemp()
    open(path, 'wb').close()
    self.f = f = open(path, 'rb')
    stdio = StandardIO(Protocol(), stdin=f.fileno(), stdout=self.extraFile.fileno(), reactor=reactor)
    removed = reactor.removeAll()
    self.assertIn(stdio._reader, removed)
    self.assertNotIn(stdio._reader, reactor.getReaders())
