@contextmanager
    def assert_does_not_log(self, levels=None, log_regex=".*"):
        self.clear()
        yield
        self.assert_did_not_log(levels, log_regex)
Asserts that the given block will not log some messages.
dataset/ETHPy150Open Yelp/Testify/testify/utils/mock_logging.py/MockHandler.assert_does_not_log