'Test with a non-raising function.'

def test_not_raising(self, caplog):

    with caplog.at_level(logging.ERROR, 'misc'):
        ret = self.func_not_raising()
    assert (ret == 23)
    assert (not caplog.records)
