Module Expr Str Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias alias FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Num AttributeLoad NameLoad attr body If BoolOpOr CompareEq NameLoad Str Call AttributeLoad NameLoad attr Str body Raise Call NameLoad Str Return Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body ImportFrom alias alias Expr Call NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Import alias Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Import alias decorator_list Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Import alias decorator_list Assign NameStore Str FunctionDef arguments args NameParam defaults body Import alias identifier Import alias FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body FunctionDef arguments args NameParam defaults NameLoad body Raise NameLoad decorator_list Expr Call Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str
N/A N/A test_nowx.py - ensure that there's no dependency on wx when headless
 N/A __builtin__ N/A os N/A sys N/A tempfile N/A traceback N/A unittest urllib2 urlopen cellprofiler.modules.tests example_images_directory maybe_download_sbs maybe_download_fly import_all_but_wx N/A N/A name globals locals fromlist level default_import N/A N/A N/A __builtin__ globals N/A N/A __builtin__ locals N/A -1 N/A __builtin__ __import__ N/A N/A N/A N/A name wx N/A N/A name startswith wx. N/A N/A N/A ImportError Not allowed to import wx! N/A N/A default_import name globals locals fromlist level N/A TestNoWX N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A cellprofiler.preferences set_headless set_temporary_directory N/A N/A set_headless N/A N/A set_temporary_directory N/A N/A tempfile gettempdir N/A N/A self old_import N/A __builtin__ __import__ N/A N/A __builtin__ __import__ import_all_but_wx N/A tearDown N/A N/A self N/A N/A N/A N/A __builtin__ __import__ N/A self old_import N/A example_dir N/A N/A self N/A N/A N/A N/A example_images_directory N/A test_01_01_can_import N/A N/A self N/A N/A N/A os N/A N/A N/A self assertTrue N/A hasattr os environ N/A test_01_02_throws_on_wx_import N/A N/A self N/A N/A import_wx N/A N/A N/A N/A N/A wx N/A N/A N/A N/A self assertRaises ImportError import_wx N/A test_01_03_import_modules N/A N/A self N/A N/A N/A Import cellprofiler.modules and make sure it doesn't import wx N/A cellprofiler.modules N/A N/A fly_url http://cellprofiler.org/ExampleFlyImages/ExampleFlyURL.cppipe test_01_05_load_pipeline N/A N/A self N/A N/A N/A cellprofiler.pipeline cpp N/A os callback N/A N/A caller event N/A N/A N/A N/A N/A self assertFalse N/A isinstance event N/A cpp LoadExceptionEvent N/A N/A pipeline N/A N/A cpp Pipeline N/A N/A N/A pipeline add_listener callback N/A N/A N/A fd N/A urlopen N/A self fly_url N/A N/A N/A IOError N/A e N/A bad_url N/A N/A e N/A e N/A N/A e N/A N/A N/A N/A N/A unittest expectedFailure bad_url N/A N/A N/A pipeline load fd N/A N/A N/A fd close N/A N/A N/A N/A unittest skipIf N/A N/A N/A sys platform startswith linux Do not test under Linux