Module Import alias Import alias Import alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assert CompareGtE NameLoad NameLoad FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body Assert CompareGt Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Num Assert Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Num Assign NameStore ListLoad FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad Str attr NameLoad NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad Str attr GeneratorExp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad AugAssignAdd NameStore BinOpAdd Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Lambda arguments args defaults Call NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad attr NameLoad If Call AttributeLoad NameLoad attr body AugAssignAdd NameStore Num orelse Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Num If CompareGtE NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return If CompareGt NameLoad BinOpSub NameLoad NameLoad body Expr Call NameLoad Return Expr Call NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad Num decorator_list
N/A N/A functools N/A unittest N/A six QuietTestRunner N/A object N/A run N/A N/A self suite N/A N/A N/A result N/A N/A unittest TestResult N/A N/A suite result N/A result N/A N/A repeat_with_success_at_least N/A N/A times min_success N/A N/A N/A Decorator for multiple trial of the test case.

    The decorated test case is launched multiple times.
    The case is judged as passed at least specified number of trials.
    If the number of successful trials exceeds `min_success`,
    the remaining trials are skipped.

    Args:
        times(int): The number of trials.
        min_success(int): Threshold that the decorated test
            case is regarded as passed.

     N/A N/A times min_success _repeat_with_success_at_least N/A N/A f N/A N/A wrapper N/A N/A N/A args kwargs N/A N/A N/A N/A len args 0 N/A instance N/A args N/A 0 N/A N/A isinstance instance N/A unittest TestCase N/A success_counter 0 N/A failure_counter 0 N/A results N/A fail N/A N/A N/A N/A N/A msg N/A N/A 
Fail: {0}, Success: {1} format failure_counter success_counter N/A N/A N/A len results 0 N/A N/A first N/A results N/A 0 N/A errs N/A N/A first failures N/A first errors N/A N/A N/A len errs 0 N/A N/A err_msg N/A N/A join N/A N/A fail N/A 1 N/A fail errs N/A msg N/A 

The first error message:
 err_msg N/A N/A N/A instance fail msg N/A N/A _ N/A N/A N/A six moves range times N/A N/A suite N/A N/A unittest TestSuite N/A N/A N/A suite addTest N/A N/A unittest FunctionTestCase N/A N/A N/A N/A N/A f args kwargs setUp N/A instance setUp tearDown N/A instance tearDown N/A result N/A N/A N/A QuietTestRunner run suite N/A N/A N/A result wasSuccessful N/A N/A success_counter 1 N/A N/A N/A N/A results append result N/A failure_counter 1 N/A N/A success_counter min_success N/A N/A N/A N/A instance assertTrue True N/A N/A N/A failure_counter N/A times min_success N/A N/A N/A fail N/A N/A N/A fail N/A N/A N/A functools wraps f N/A wrapper N/A N/A _repeat_with_success_at_least N/A repeat N/A N/A times N/A N/A N/A Decorator that imposes the test to be successful in a row.

    Decorated test case is launched multiple times.
    The case is regarded as passed only if it is successful
    specified times in a row.

    .. note::
        In current implementation, this decorator grasps the
        failure information of each trial.

    Args:
        times(int): The number of trials.
     N/A N/A repeat_with_success_at_least times times N/A retry N/A N/A times N/A N/A N/A 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.
     N/A N/A repeat_with_success_at_least times 1 N/A