class_docstr: Overload the default results so that we can store the results.
class_docstr_tok: ["Overload","the","default","results","so","that","we","can","store","the","results","."]
docstr: On test end, get time, print, store and do normal behaviour.
docstr_tok: ["On","test","end",",","get","time",",","print",",","store","and","do","normal","behaviour","."]
code: def stopTest(self, test):  # noqa: N802
      """On test end, get time, print, store and do normal behaviour."""
      elapsed = time.time() - self.start_time
      name = self.getDescription(test)
      self.stream.write(f"Finished test: {name} ({elapsed:.03}s)\n")
      if name in results:
          raise AssertionError("expected all keys to be unique")
      results[name] = elapsed
      super().stopTest(test)
  
file_path: MONAI/tests/runner.py
imports: from __future__ import annotations
  import argparse
  import glob
  import inspect
  import os
  import re
  import sys
  import time
  import unittest
  from monai.utils import PerfContext
label_desc: Use image node_id 3 for calling the TimeLoggingTestResult obj's underlying member method code with example usage: obj.stopTest(test) without return types