def childDataReceived(self, childFD, data):
        """
        Handle data received on the specific pipe for the C{_ampProtocol}.
        """
        if childFD == _WORKER_AMP_STDOUT:
            self._ampProtocol.dataReceived(data)
        else:
            ProcessProtocol.childDataReceived(self, childFD, data)

        Handle data received on the specific pipe for the C{_ampProtocol}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/trial/_dist/worker.py