'A descriptor\'s C{fileno} method should not be called after the
descriptor has been removed from the reactor.'

def test_removedFromReactor(self):

    reactor = self.buildReactor()
    descriptor = RemovingDescriptor(reactor)
    reactor.callWhenRunning(descriptor.start)
    self.runReactor(reactor)
    self.assertEqual(descriptor.calls, [])
