code: def retry(times):
      """Decorator that imposes the test to be successful at least once.
  
      Decorated test case is launched multiple times.
      The case is regarded as passed if it is successful
      at least once.
  
      .. note::
          In current implementation, this decorator grasps the
          failure information of each trial.
  
      Args:
          times(int): The number of trials.
      """
      return repeat_with_success_at_least(times, 1)
  
file_path: chainer/chainer/testing/condition.py
imports: import functools
  import unittest
  import six
label_desc: Use image node_id 3 for calling a global function with example usage: retry(times) and returns: repeat_with_success_at_least