Module Expr Str Import alias TryExcept body Import alias handlers ExceptHandler body ImportFrom alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If NameLoad body Assign AttributeStore NameLoad attr Call NameLoad TupleLoad NameLoad Str AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Call NameLoad If NameLoad body Assign AttributeStore NameLoad attr Call NameLoad TupleLoad NameLoad Str AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str With AttributeLoad NameLoad attr body With AttributeLoad NameLoad attr body Expr Yield NameLoad decorator_list Assign NameStore Call NameLoad Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad keyword TupleLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareNotIn NameLoad AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body For NameStore AttributeLoad NameLoad attr body Assert CompareIn NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list Assign NameStore Call NameLoad NameLoad Str NameLoad Expr Str Assign NameStore CompareIn Str AttributeLoad NameLoad attr Assign NameStore IfExp NameLoad Call NameLoad NameLoad Str NameLoad
N/A N/A Defines various `sys`-related tools. N/A sys N/A N/A N/A pathlib N/A N/A N/A combi._python_toolbox.third_party pathlib N/A io combi._python_toolbox.context_management ContextManager BlankContextManager combi._python_toolbox.temp_value_setting TempValueSetter combi._python_toolbox.reasoned_bool ReasonedBool combi._python_toolbox sequence_tools OutputCapturer N/A ContextManager N/A N/A 
    Context manager for catching all system output generated during suite.

    Example:
    
        with OutputCapturer() as output_capturer:
            print('woo!')
            
        assert output_capturer.output == 'woo!
'
        
    The boolean arguments `stdout` and `stderr` determine, respectively,
    whether the standard-output and the standard-error streams will be
    captured.
     __init__ N/A N/A self stdout stderr N/A True True N/A N/A N/A self string_io N/A N/A io StringIO N/A stdout N/A N/A N/A self _stdout_temp_setter N/A TempValueSetter N/A sys stdout N/A self string_io N/A N/A N/A self _stdout_temp_setter N/A BlankContextManager N/A stderr N/A N/A N/A self _stderr_temp_setter N/A TempValueSetter N/A sys stderr N/A self string_io N/A N/A N/A self _stderr_temp_setter N/A BlankContextManager N/A manage_context N/A N/A self N/A N/A N/A Manage the `OutputCapturer`'s context. N/A N/A self _stdout_temp_setter N/A N/A N/A self _stderr_temp_setter N/A N/A N/A self N/A N/A output N/A property N/A N/A N/A self N/A N/A N/A N/A self string_io getvalue doc The string of output that was captured. N/A TempSysPathAdder N/A ContextManager N/A N/A 
    Context manager for temporarily adding paths to `sys.path`.
    
    Removes the path(s) after suite.
    
    Example:
    
        with TempSysPathAdder('path/to/fubar/package'):
            import fubar
            fubar.do_stuff()
            
     __init__ N/A N/A self addition N/A N/A N/A 
        Construct the `TempSysPathAdder`.
        
        `addition` may be a path or a sequence of paths.
         N/A N/A self addition N/A map str N/A N/A sequence_tools to_tuple addition item_type N/A str N/A pathlib PurePath N/A __enter__ N/A N/A self N/A N/A N/A N/A self entries_not_in_sys_path N/A entry N/A entry N/A self addition N/A entry N/A sys path N/A N/A sys path N/A self entries_not_in_sys_path N/A self N/A __exit__ N/A N/A self N/A args kwargs N/A N/A entry N/A self entries_not_in_sys_path N/A N/A N/A entry N/A sys path N/A N/A N/A N/A sys path remove entry N/A N/A N/A frozen N/A getattr sys frozen None N/A 
The "frozen string", if we are frozen, otherwise `None`.

This is useful for checking if we are frozen, e.g. with py2exe.
 N/A is_pypy N/A __pypy__ N/A sys builtin_module_names N/A can_import_compiled_modules N/A is_pypy N/A ReasonedBool False Pypy can't import compiled modules by default True