Module Expr Str Import alias FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Assign NameStore Call NameLoad NameLoad Str Num Assign AttributeStore NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Str NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Delete AttributeDel NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore NameLoad For NameStore SubscriptLoad NameLoad Slice Num body Assign NameStore AttributeLoad NameLoad attr If CompareEq NameLoad NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore NameLoad orelse Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Str Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIn SubscriptLoad NameLoad Index Num Str body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Print AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr body Print AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore Str orelse If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr orelse If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Assign NameStore Str orelse Assert AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad NameLoad decorator_list decorator_list Import alias alias FunctionDef arguments args defaults body ImportFrom alias alias alias Assign NameStore Call NameLoad Str Assert CompareIs AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Str keyword NameLoad Assign NameStore Call NameLoad Str keyword NameLoad Assign NameStore Call NameLoad Str keyword NameLoad Assign NameStore Call NameLoad NameLoad Assert CompareEq NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str keyword NameLoad Assign NameStore Call NameLoad Str keyword NameLoad Assign NameStore Call NameLoad Str keyword NameLoad Assign NameStore Call NameLoad Str keyword NameLoad Assign NameStore Call NameLoad Str keyword NameLoad Assign NameStore Call NameLoad NameLoad Assert CompareEq NameLoad Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq SubscriptLoad NameLoad Index Num Str Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq Call NameLoad NameLoad Num Assert CompareEq SubscriptLoad NameLoad Index Num Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq SubscriptLoad NameLoad Index Num Str Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq Call NameLoad NameLoad Num Assert CompareEq SubscriptLoad NameLoad Index Num Str Assert CompareEq SubscriptLoad NameLoad Index Num Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq SubscriptLoad NameLoad Index Num Str Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq Call NameLoad NameLoad Num Assert CompareEq SubscriptLoad NameLoad Index Num Str Assert CompareEq SubscriptLoad NameLoad Index Num Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Str Expr Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq SubscriptLoad NameLoad Index Num Str Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq Call NameLoad NameLoad Num Assert CompareEq SubscriptLoad NameLoad Index Num Str Assert CompareEq SubscriptLoad NameLoad Slice Num ListComp BinOpAdd Str NameLoad comprehension NameStore Call AttributeLoad NameLoad attr decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore BinOpAdd ListLoad BinOpMod Str NameLoad ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad Call AttributeLoad NameLoad attr keyword Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assert UnaryOpNot NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assert CompareEq Call NameLoad NameLoad Num Assert Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assert Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assert Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assert Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assert NameLoad Assert Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assert Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str SubscriptLoad NameLoad Index Num For NameStore SubscriptLoad NameLoad Slice Num body Assert Call AttributeLoad NameLoad attr Str Assert CompareIn Str Call AttributeLoad Str attr SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assert CompareGtE Call NameLoad NameLoad Num Assert Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assert Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assert Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str SubscriptLoad NameLoad Index Num Assert Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assert CompareNotEq Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Num Assert Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assert Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Slice Num Assert CompareNotEq Call AttributeLoad NameLoad attr Str Num decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Raise NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Assert Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assert CompareIn SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Slice Num SubscriptLoad NameLoad Index Num Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Str Assert CompareIn Str NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr keyword Num Expr Call AttributeLoad Call NameLoad NameLoad attr ListLoad Str Str Str decorator_list
N/A N/A resultlog plugin for machine-readable logging of test results. 
   Useful for buildbot integration code. 
 N/A py pytest_addoption N/A N/A parser N/A N/A N/A group N/A N/A parser addgroup resultlog resultlog plugin options N/A N/A N/A group addoption --resultlog action store dest resultlog metavar path default None help path for machine-readable result log. N/A pytest_configure N/A N/A config N/A N/A N/A resultlog N/A N/A config option resultlog N/A resultlog N/A N/A logfile N/A open resultlog w 1 N/A N/A config _resultlog N/A ResultLog logfile N/A N/A N/A N/A config pluginmanager register N/A config _resultlog N/A pytest_unconfigure N/A N/A config N/A N/A N/A resultlog N/A getattr config _resultlog None N/A resultlog N/A N/A N/A N/A N/A resultlog logfile close N/A N/A config _resultlog N/A N/A N/A N/A config pluginmanager unregister resultlog N/A generic_path N/A N/A item N/A N/A N/A chain N/A N/A item listchain N/A gpath N/A N/A N/A chain N/A 0 name N/A fspath N/A N/A chain N/A 0 fspath N/A fspart False N/A node N/A chain N/A 1 N/A N/A newfspath N/A node fspath N/A N/A newfspath fspath N/A N/A fspart N/A N/A N/A N/A gpath append : N/A fspart False N/A N/A N/A N/A gpath append . N/A N/A N/A N/A gpath append / N/A fspart True N/A name N/A node name N/A N/A N/A name N/A 0 ([ N/A N/A N/A N/A gpath pop N/A N/A N/A gpath append name N/A fspath newfspath N/A N/A N/A join gpath N/A ResultLog N/A object N/A __init__ N/A N/A self logfile N/A N/A N/A N/A self logfile logfile N/A write_log_entry N/A N/A self testpath shortrepr longrepr N/A N/A N/A N/A self logfile N/A %s %s N/A shortrepr testpath N/A line N/A N/A longrepr splitlines N/A N/A N/A self logfile N/A  %s line N/A log_outcome N/A N/A self node shortrepr longrepr N/A N/A N/A testpath N/A generic_path node N/A N/A N/A self write_log_entry testpath shortrepr longrepr N/A pytest_runtest_logreport N/A N/A self report N/A N/A N/A code N/A report shortrepr N/A N/A report passed N/A N/A longrepr N/A N/A N/A report failed N/A N/A longrepr N/A str N/A report longrepr N/A N/A N/A report skipped N/A N/A longrepr N/A str N/A N/A N/A report longrepr reprcrash message N/A N/A N/A self log_outcome N/A report item code longrepr N/A pytest_collectreport N/A N/A self report N/A N/A N/A N/A N/A report passed N/A N/A N/A report failed N/A N/A code F N/A N/A N/A report skipped N/A code S N/A longrepr N/A str N/A N/A report longrepr reprcrash N/A N/A N/A self log_outcome N/A report collector code longrepr N/A pytest_internalerror N/A N/A self excrepr N/A N/A N/A path N/A N/A excrepr reprcrash path N/A N/A N/A self write_log_entry path ! N/A str excrepr N/A N/A N/A os StringIO test_generic_path N/A N/A N/A N/A py.__.test.collect Node Item FSCollector N/A p1 N/A Node a N/A N/A N/A p1 fspath None N/A p2 N/A Node B parent p1 N/A p3 N/A Node () parent p2 N/A item N/A Item c parent p3 N/A res N/A generic_path item N/A N/A res a.B().c N/A p0 N/A FSCollector proj/test N/A p1 N/A FSCollector proj/test/a parent p0 N/A p2 N/A Node B parent p1 N/A p3 N/A Node () parent p2 N/A p4 N/A Node c parent p3 N/A item N/A Item [1] parent p4 N/A res N/A generic_path item N/A N/A res test/a:B().c[1] N/A test_write_log_entry N/A N/A N/A N/A N/A reslog N/A ResultLog None N/A N/A reslog logfile N/A N/A StringIO StringIO N/A N/A N/A reslog write_log_entry name . N/A entry N/A N/A N/A reslog logfile getvalue N/A N/A N/A entry N/A -1 N/A entry_lines N/A N/A entry splitlines N/A N/A N/A len entry_lines 1 N/A N/A N/A entry_lines N/A 0 . name N/A N/A reslog logfile N/A N/A StringIO StringIO N/A N/A N/A reslog write_log_entry name s Skipped N/A entry N/A N/A N/A reslog logfile getvalue N/A N/A N/A entry N/A -1 N/A entry_lines N/A N/A entry splitlines N/A N/A N/A len entry_lines 2 N/A N/A N/A entry_lines N/A 0 s name N/A N/A N/A entry_lines N/A 1  Skipped N/A N/A reslog logfile N/A N/A StringIO StringIO N/A N/A N/A reslog write_log_entry name s Skipped
 N/A entry N/A N/A N/A reslog logfile getvalue N/A N/A N/A entry N/A -1 N/A entry_lines N/A N/A entry splitlines N/A N/A N/A len entry_lines 2 N/A N/A N/A entry_lines N/A 0 s name N/A N/A N/A entry_lines N/A 1  Skipped N/A N/A reslog logfile N/A N/A StringIO StringIO N/A longrepr  tb1
 tb 2
E tb3
Some Error N/A N/A N/A reslog write_log_entry name F longrepr N/A entry N/A N/A N/A reslog logfile getvalue N/A N/A N/A entry N/A -1 N/A entry_lines N/A N/A entry splitlines N/A N/A N/A len entry_lines 5 N/A N/A N/A entry_lines N/A 0 F name N/A N/A N/A entry_lines N/A 1 N/A N/A line N/A line N/A N/A longrepr splitlines N/A TestWithFunctionIntegration N/A N/A getresultlog N/A N/A self testdir arg N/A N/A N/A resultlog N/A N/A N/A testdir tmpdir join resultlog N/A N/A N/A N/A testdir plugins append resultlog N/A args N/A N/A N/A --resultlog=%s resultlog N/A arg N/A N/A N/A testdir runpytest args N/A N/A filter None N/A N/A resultlog readlines cr 0 N/A test_collection_report N/A N/A self testdir N/A N/A N/A ok N/A N/A testdir makepyfile test_collection_ok N/A skip N/A N/A testdir makepyfile test_collection_skip import py ; py.test.skip('hello') N/A fail N/A N/A testdir makepyfile test_collection_fail XXX N/A lines N/A N/A self getresultlog testdir ok N/A N/A lines N/A lines N/A N/A self getresultlog testdir skip N/A N/A N/A len lines 2 N/A N/A N/A N/A lines N/A 0 startswith S  N/A N/A N/A N/A lines N/A 0 endswith test_collection_skip.py N/A N/A N/A N/A lines N/A 1 startswith N/A N/A N/A N/A lines N/A 1 endswith test_collection_skip.py:1: Skipped: 'hello' N/A lines N/A N/A self getresultlog testdir fail N/A lines N/A N/A N/A N/A lines N/A 0 startswith F  N/A N/A N/A N/A lines N/A 0 endswith test_collection_fail.py N/A lines N/A 0 N/A x N/A lines N/A 1 N/A N/A N/A N/A x startswith N/A N/A XXX N/A N/A join N/A lines N/A 1 N/A test_log_test_outcomes N/A N/A self testdir N/A N/A N/A mod N/A N/A testdir makepyfile test_mod 
            import py 
            def test_pass(): pass
            def test_skip(): py.test.skip("hello")
            def test_fail(): raise ValueError("val")
         N/A lines N/A N/A self getresultlog testdir mod N/A N/A N/A len lines 3 N/A N/A N/A N/A lines N/A 0 startswith .  N/A N/A N/A N/A lines N/A 0 endswith test_pass N/A N/A N/A N/A lines N/A 1 startswith s  N/A lines N/A 1 N/A N/A N/A N/A lines N/A 1 endswith test_skip N/A N/A N/A N/A N/A lines N/A 2 find hello -1 N/A N/A N/A N/A lines N/A 3 startswith F  N/A N/A N/A N/A lines N/A 3 endswith test_fail N/A tb N/A N/A join N/A lines N/A 4 N/A N/A N/A N/A tb find ValueError -1 N/A test_internal_exception N/A N/A self N/A N/A N/A N/A N/A ValueError N/A N/A N/A ValueError N/A N/A excinfo N/A N/A N/A py code ExceptionInfo N/A reslog N/A ResultLog N/A N/A StringIO StringIO N/A N/A N/A reslog pytest_internalerror N/A N/A excinfo getrepr N/A entry N/A N/A N/A reslog logfile getvalue N/A entry_lines N/A N/A entry splitlines N/A N/A N/A N/A entry_lines N/A 0 startswith !  N/A N/A N/A N/A N/A N/A os path basename __file__ N/A -1 N/A entry_lines N/A 0 N/A N/A N/A N/A entry_lines N/A -1 N/A 0 N/A N/A ValueError entry N/A N/A test_generic N/A N/A testdir LineMatcher N/A N/A N/A N/A N/A N/A testdir plugins append resultlog N/A N/A N/A testdir makepyfile 
        import py
        def test_pass():
            pass
        def test_fail():
            assert 0
        def test_skip():
            py.test.skip("")
     N/A N/A N/A testdir runpytest --resultlog=result.log N/A lines N/A N/A N/A N/A N/A testdir tmpdir join result.log readlines cr 0 N/A N/A N/A N/A LineMatcher lines fnmatch_lines N/A . *:test_pass F *:test_fail s *:test_skip N/A