'Test retry_until_ok does not mask RuntimeErrors.'

def test_retry_until_ok_runtime_error(self):

    with self.assertRaises(RuntimeError):
        retry_until_ok(err_func, RuntimeError)
    self.assertEqual(err_func.counter, 1)
