def testWrite(self, out):
        """
        Print test output from the worker.
        """
        self._testStream.write(out + '\n')
        self._testStream.flush()
        return {'success': True}

        Print test output from the worker.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/trial/_dist/worker.py