Module Import alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num If CompareEq BinOpMod AttributeLoad NameLoad attr Num Num body AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad orelse AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Expr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad AttributeLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return Call Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad
N/A N/A unittest chainer testing chainer.testing condition MockUnitTest N/A N/A unittest TestCase N/A N/A failure_case_counter 0 N/A success_case_counter 0 N/A probabilistic_case_counter 0 N/A probabilistic_case_success_counter 0 N/A probabilistic_case_failure_counter 0 failure_case N/A N/A self N/A N/A N/A N/A self failure_case_counter 1 N/A N/A N/A self fail N/A success_case N/A N/A self N/A N/A N/A N/A self success_case_counter 1 N/A N/A N/A self assertTrue True N/A error_case N/A N/A self N/A N/A N/A N/A Exception N/A probabilistic_case N/A N/A self N/A N/A N/A N/A self probabilistic_case_counter 1 N/A N/A N/A N/A self probabilistic_case_counter 2 0 N/A N/A N/A self probabilistic_case_success_counter 1 N/A N/A N/A self assertTrue True N/A N/A N/A self probabilistic_case_failure_counter 1 N/A N/A N/A self fail N/A runTest N/A N/A self N/A N/A N/A N/A N/A _should_fail N/A N/A self f N/A N/A N/A N/A N/A N/A f N/A self unit_test N/A N/A N/A self fail AssertionError is expected to be raised, but none is raised N/A N/A N/A AssertionError N/A e N/A N/A N/A N/A self assertIn first error message: N/A str e N/A _should_pass N/A N/A self f N/A N/A N/A N/A f N/A self unit_test N/A TestRepeatWithSuccessAtLeast N/A N/A unittest TestCase N/A _decorate N/A N/A self f times min_success N/A N/A N/A N/A N/A N/A condition repeat_with_success_at_least times min_success f N/A setUp N/A N/A self N/A N/A N/A N/A self unit_test N/A MockUnitTest N/A test_all_trials_fail N/A N/A self N/A N/A N/A f N/A N/A self _decorate N/A MockUnitTest failure_case 10 1 N/A N/A _should_fail self f N/A N/A N/A self assertEqual N/A N/A self unit_test failure_case_counter 10 N/A test_all_trials_fail2 N/A N/A self N/A N/A N/A f N/A N/A self _decorate N/A MockUnitTest failure_case 10 0 N/A N/A _should_pass self f N/A N/A N/A self assertLessEqual N/A N/A self unit_test failure_case_counter 10 N/A test_all_trials_error N/A N/A self N/A N/A N/A f N/A N/A self _decorate N/A MockUnitTest error_case 10 1 N/A N/A _should_fail self f N/A test_all_trials_succeed N/A N/A self N/A N/A N/A f N/A N/A self _decorate N/A MockUnitTest success_case 10 10 N/A N/A _should_pass self f N/A N/A N/A self assertEqual N/A N/A self unit_test success_case_counter 10 N/A test_all_trials_succeed2 N/A N/A self N/A N/A N/A N/A N/A self assertRaises AssertionError N/A condition repeat_with_success_at_least 10 11 N/A test_half_of_trials_succeed N/A N/A self N/A N/A N/A f N/A N/A self _decorate N/A MockUnitTest probabilistic_case 10 5 N/A N/A _should_pass self f N/A N/A N/A self assertLessEqual N/A N/A self unit_test probabilistic_case_counter 10 N/A N/A N/A self assertGreaterEqual N/A N/A self unit_test probabilistic_case_success_counter 5 N/A N/A N/A self assertLessEqual N/A N/A self unit_test probabilistic_case_failure_counter 5 N/A test_half_of_trials_succeed2 N/A N/A self N/A N/A N/A f N/A N/A self _decorate N/A MockUnitTest probabilistic_case 10 6 N/A N/A _should_fail self f N/A N/A N/A self assertLessEqual N/A N/A self unit_test probabilistic_case_counter 10 N/A N/A N/A self assertLess N/A N/A self unit_test probabilistic_case_success_counter 6 N/A N/A N/A self assertGreaterEqual N/A N/A self unit_test probabilistic_case_failure_counter 5 N/A N/A TestRepeat N/A N/A unittest TestCase N/A _decorate N/A N/A self f times N/A N/A N/A N/A N/A N/A condition repeat times f N/A setUp N/A N/A self N/A N/A N/A N/A self unit_test N/A MockUnitTest N/A test_failure_case N/A N/A self N/A N/A N/A f N/A N/A self _decorate N/A MockUnitTest failure_case 10 N/A N/A _should_fail self f N/A N/A N/A self assertLessEqual N/A N/A self unit_test failure_case_counter 10 N/A test_success_case N/A N/A self N/A N/A N/A f N/A N/A self _decorate N/A MockUnitTest success_case 10 N/A N/A _should_pass self f N/A N/A N/A self assertEqual N/A N/A self unit_test success_case_counter 10 N/A test_probabilistic_case N/A N/A self N/A N/A N/A f N/A N/A self _decorate N/A MockUnitTest probabilistic_case 10 N/A N/A _should_fail self f N/A N/A N/A self assertLessEqual N/A N/A self unit_test probabilistic_case_counter 10 N/A N/A N/A self assertLess N/A N/A self unit_test probabilistic_case_success_counter 10 N/A N/A N/A self assertGreater N/A N/A self unit_test probabilistic_case_failure_counter 0 N/A N/A TestRetry N/A N/A unittest TestCase N/A _decorate N/A N/A self f times N/A N/A N/A N/A N/A N/A condition retry times f N/A setUp N/A N/A self N/A N/A N/A N/A self unit_test N/A MockUnitTest N/A test_failure_case N/A N/A self N/A N/A N/A f N/A N/A self _decorate N/A MockUnitTest failure_case 10 N/A N/A _should_fail self f N/A N/A N/A self assertEqual N/A N/A self unit_test failure_case_counter 10 N/A test_success_case N/A N/A self N/A N/A N/A f N/A N/A self _decorate N/A MockUnitTest success_case 10 N/A N/A _should_pass self f N/A N/A N/A self assertLessEqual N/A N/A self unit_test success_case_counter 10 N/A test_probabilistic_case N/A N/A self N/A N/A N/A f N/A N/A self _decorate N/A MockUnitTest probabilistic_case 10 N/A N/A _should_pass self f N/A N/A N/A self assertLessEqual N/A N/A self unit_test probabilistic_case_counter 10 N/A N/A N/A self assertGreater N/A N/A self unit_test probabilistic_case_success_counter 0 N/A N/A N/A self assertLess N/A N/A self unit_test probabilistic_case_failure_counter 10 N/A N/A N/A N/A N/A testing run_module __name__ __file__