def stopTest(self, test):
        """
        Queue stopping the test, then unroll the queue.
        """
        self.running[test.id()].append((self.original.stopTest, test))
        for step in self.running[test.id()]:
            step[0](*step[1:])
        del self.running[test.id()]

        Queue stopping the test, then unroll the queue.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/trial/_dist/distreporter.py