Tests for twisted.python.sendmsg.

Class ExitedWithStderr A process exited with some stderr.
Class StartStopProcessProtocol An IProcessProtocol with a Deferred for events where the subprocess starts and stops.
Class BadList A list which cannot be iterated sometimes.
Class WorseList A list which at first gives the appearance of being iterable, but then raises an exception.
Class CModuleSendmsgTests Tests for sendmsg extension module and associated file-descriptor sending functionality.
Class CModuleRecvmsgTests Tests for recv1msg (primarily error handling cases).
Class CModuleGetSocketFamilyTests Tests for getsockfam, a helper which reveals the address family of an arbitrary socket.
Class SendmsgTests Tests for the Python2/3 compatible sendmsg interface.
Class GetSocketFamilyTests Tests for getSocketFamily.
Class _FDHolder A wrapper around a FD that will remember if it has been closed or not.
Function _makePipe Create a pipe, and return the two FDs wrapped in _FDHolders.
Function _spawn Start a script that is a peer of this test as a subprocess.
def _makePipe():

Create a pipe, and return the two FDs wrapped in _FDHolders.

def _spawn(script, outputFD):

Start a script that is a peer of this test as a subprocess.

Parametersscriptthe module name of the script in this directory (no package prefix, no '.py') (type: str)
Returns (type: StartStopProcessProtocol)
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.