module documentation

Tests for twisted.internet.kqueuereactor.

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

Create a fake that implements _IKQueue.

Parameters
testKQueueSomething that acts like select.kqueue.
testKEventSomething that acts like select.kevent.
Returns
An implementation of _IKQueue that includes testKQueue and testKEvent.
kqueueSkip = (source)

Undocumented

def _fakeKEvent(*args, **kwargs): (source)

Do nothing.