def _prev_index(self, s):
        self.set_index(max(0, self.index - 1))
def teardown(self, **kwargs: Any) -> None:
        """Execute arbitrary post-profiling tear-down steps as defined by subclass."""