@contextmanager
    def assert_logs(self, levels=None, log_regex=".*"):
        self.clear()
        yield
        self.assert_logged(levels, log_regex)
scale is a DOWNSCALING factor.
dataset/ETHPy150Open Yelp/Testify/testify/utils/mock_logging.py/MockHandler.assert_logs--crossover with--dataset/ETHPy150Open benanne/kaggle-ndsb/data.py/perturb_multiscale_fixed