def createLocalWorkers(self, protocols, workingDirectory):
        return [LocalWorker(protocol,
                            os.path.join(workingDirectory, str(x)),
                            self._logFile)
                for x, protocol in enumerate(protocols)]
Create local worker protocol instances and return them.
dataset/ETHPy150Open twisted/twisted/twisted/trial/_dist/disttrial.py/DistTrialRunner.createLocalWorkers