def spawnProcess(self, worker, *args, **kwargs):
        """
        See L{IReactorProcess.spawnProcess}.

        @param worker: See L{IReactorProcess.spawnProcess}.
        @param args: See L{IReactorProcess.spawnProcess}.
        @param kwargs: See L{IReactorProcess.spawnProcess}.
        """
        self._workers.append(worker)
        worker.makeConnection(FakeTransport())
        self.spawnCount += 1

        See L{IReactorProcess.spawnProcess}.

        @param worker: See L{IReactorProcess.spawnProcess}.
        @param args: See L{IReactorProcess.spawnProcess}.
        @param kwargs: See L{IReactorProcess.spawnProcess}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/trial/_dist/test/test_disttrial.py