def stopTest(self, test):
        """
        This must be called after the given test is completed.

        @type test: L{pyunit.TestCase}
        """
        super(TestResult, self).stopTest(test)
        self._lastTime = self._getTime() - self._testStarted

        This must be called after the given test is completed.

        @type test: L{pyunit.TestCase}
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/trial/reporter.py