Tests for twisted.internet.kqueuereactor.

Function makeFakeKQueue Create a fake that implements _IKQueue.
Class KQueueTests These are tests for KQueueReactor's implementation, not its real world behaviour. For that, look at twisted.internet.test.reactormixins.ReactorBuilder.
Function _fakeKEvent Do nothing.
def _fakeKEvent(*args, **kwargs):

Do nothing.

def makeFakeKQueue(testKQueue, testKEvent):

Create a fake that implements _IKQueue.

ParameterstestKQueueSomething that acts like select.kqueue.
testKEventSomething that acts like select.kevent.
ReturnsAn implementation of _IKQueue that includes testKQueue and testKEvent.
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.