Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword ListLoad NameLoad NameLoad keyword NameLoad keyword Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str If AttributeLoad NameLoad attr body Return Str orelse Return Str decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body TryFinally body With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr decorator_list With Call AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr With Call NameLoad keyword NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body TryFinally body With Call AttributeLoad NameLoad attr body Expr BinOpDiv Num Num finalbody Expr Call AttributeLoad NameLoad attr decorator_list With Call AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr With Call NameLoad keyword NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body TryFinally body With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Str finalbody Expr Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body TryFinally body With Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults CompareEq Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A  Tests for the tabular editor tester.  N/A unittest N/A cStringIO pyface.qt QtGui pyface.api MessageDialog OK CANCEL traits.api HasStrictTraits traitsui.api CancelButton OKButton View pyface.ui.qt4.util.testing silence_output pyface.ui.qt4.util.gui_test_assistant GuiTestAssistant pyface.ui.qt4.util.modal_dialog_tester ModalDialogTester MyClass N/A HasStrictTraits N/A default_traits_view N/A N/A self N/A N/A N/A view N/A View buttons N/A OKButton CancelButton resizable False title My class dialog N/A view N/A run N/A N/A self N/A N/A N/A ui N/A N/A self edit_traits kind livemodal N/A N/A ui result N/A N/A accepted N/A N/A rejected N/A do_not_show_dialog N/A N/A self N/A N/A N/A True N/A N/A TestModalDialogTester N/A N/A unittest TestCase GuiTestAssistant N/A N/A  Tests for the modal dialog tester.  test_on_message_dialog N/A N/A self N/A N/A N/A dialog N/A MessageDialog N/A tester N/A ModalDialogTester N/A dialog open N/A N/A N/A tester open_and_run when_opened N/A N/A N/A x N/A N/A N/A x close accept True N/A N/A N/A self assertTrue N/A N/A tester value_assigned N/A N/A N/A self assertEqual N/A tester result OK N/A N/A N/A self assertTrue N/A tester dialog_was_opened N/A N/A N/A tester open_and_run when_opened N/A N/A N/A x N/A N/A N/A x close N/A N/A N/A self assertTrue N/A N/A tester value_assigned N/A N/A N/A self assertEqual N/A tester result CANCEL N/A N/A N/A self assertTrue N/A tester dialog_was_opened N/A test_on_traitsui_dialog N/A N/A self N/A N/A N/A my_class N/A MyClass N/A tester N/A ModalDialogTester N/A my_class run N/A N/A N/A tester open_and_run when_opened N/A N/A N/A x N/A N/A N/A x close accept True N/A N/A N/A self assertTrue N/A N/A tester value_assigned N/A N/A N/A self assertEqual N/A tester result accepted N/A N/A N/A self assertTrue N/A tester dialog_was_opened N/A N/A N/A tester open_and_run when_opened N/A N/A N/A x N/A N/A N/A x close N/A N/A N/A self assertTrue N/A N/A tester value_assigned N/A N/A N/A self assertEqual N/A tester result rejected N/A N/A N/A self assertTrue N/A tester dialog_was_opened N/A test_capture_errors_on_failure N/A N/A self N/A N/A N/A dialog N/A MessageDialog N/A tester N/A ModalDialogTester N/A dialog open failure N/A N/A tester N/A N/A N/A N/A N/A N/A N/A tester capture_error N/A N/A N/A N/A self fail N/A N/A N/A N/A tester close N/A N/A N/A N/A self assertRaises AssertionError N/A N/A alt_stderr N/A cStringIO StringIO N/A N/A silence_output err alt_stderr N/A N/A N/A N/A tester open_and_run when_opened failure N/A N/A N/A self assertIn raise self.failureException(msg) alt_stderr N/A test_capture_errors_on_error N/A N/A self N/A N/A N/A dialog N/A MessageDialog N/A tester N/A ModalDialogTester N/A dialog open raise_error N/A N/A tester N/A N/A N/A N/A N/A N/A N/A tester capture_error N/A N/A N/A 1 0 N/A N/A N/A N/A tester close N/A N/A N/A N/A self assertRaises ZeroDivisionError N/A N/A alt_stderr N/A cStringIO StringIO N/A N/A silence_output err alt_stderr N/A N/A N/A N/A tester open_and_run when_opened raise_error N/A N/A N/A self assertIn ZeroDivisionError alt_stderr N/A test_has_widget N/A N/A self N/A N/A N/A my_class N/A MyClass N/A tester N/A ModalDialogTester N/A my_class run check_and_close N/A N/A tester N/A N/A N/A N/A N/A N/A N/A tester capture_error N/A N/A N/A N/A self assertTrue N/A N/A tester has_widget OK N/A QtGui QPushButton N/A N/A N/A self assertFalse N/A N/A tester has_widget text I am a virtual button N/A N/A N/A N/A tester close N/A N/A N/A N/A tester open_and_run when_opened check_and_close N/A test_find_widget N/A N/A self N/A N/A N/A my_class N/A MyClass N/A tester N/A ModalDialogTester N/A my_class run check_and_close N/A N/A tester N/A N/A N/A N/A N/A N/A N/A tester capture_error N/A N/A widget N/A N/A tester find_qt_widget type_ N/A QtGui QPushButton test N/A N/A N/A x N/A N/A N/A N/A x text OK N/A N/A N/A self assertIsInstance widget N/A QtGui QPushButton N/A N/A N/A N/A tester close N/A N/A N/A N/A tester open_and_run when_opened check_and_close N/A test_dialog_was_not_opened_on_traitsui_dialog N/A N/A self N/A N/A N/A my_class N/A MyClass N/A tester N/A ModalDialogTester N/A my_class do_not_show_dialog N/A N/A N/A tester open_and_run when_opened N/A N/A N/A x N/A N/A N/A x close accept True N/A N/A N/A self assertTrue N/A N/A tester value_assigned N/A N/A N/A self assertEqual N/A tester result True N/A N/A N/A self assertFalse N/A tester dialog_was_opened N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main