def METHOD_NAME(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().METHOD_NAME(test)