Module Import alias Import alias ImportFrom alias alias FunctionDef arguments args NameParam NameParam defaults vararg kwarg body TryExcept body Expr Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise ExceptHandler type NameLoad body Return Call AttributeLoad NameLoad attr orelse Raise NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body FunctionDef arguments args defaults body Assign NameStore Num Assign NameStore Num Assert CompareEq NameLoad NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assert CompareEq NameLoad Str decorator_list FunctionDef arguments args defaults body FunctionDef arguments args defaults body Assign NameStore Num FunctionDef arguments args defaults body Return NameLoad decorator_list Assign NameStore Num Assert CompareEq Call NameLoad NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assert Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Assign NameStore Num FunctionDef arguments args defaults body Assign NameStore Num Assert CompareEq NameLoad NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assert CompareEq NameLoad Str decorator_list FunctionDef arguments args defaults body FunctionDef arguments args defaults body Pass decorator_list FunctionDef arguments args defaults body Expr Call NameLoad Num decorator_list Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assert CompareNotEq Call AttributeLoad NameLoad attr Str Num ClassDef bases body FunctionDef arguments args defaults body Pass decorator_list decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad Call NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assert CompareNotEq Call AttributeLoad NameLoad attr Str Num FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assert CompareNotEq Call AttributeLoad NameLoad attr Str Num decorator_list FunctionDef arguments args NameParam NameParam defaults Num Num body Return BinOpMult NameLoad NameLoad decorator_list FunctionDef arguments args defaults body FunctionDef arguments args defaults body Assert CompareEq Call NameLoad Num decorator_list Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assert CompareEq NameLoad Str decorator_list FunctionDef arguments args defaults body FunctionDef arguments args defaults body Assert CompareEq Call NameLoad keyword Num Num decorator_list Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assert CompareEq NameLoad Str decorator_list FunctionDef arguments args defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Str decorator_list decorator_list FunctionDef arguments args defaults body Assert CompareEq Call NameLoad Str decorator_list Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assert CompareEq NameLoad Str decorator_list FunctionDef arguments args defaults body ClassDef bases body Assign NameStore Str Assign NameStore Num Assign NameStore Str decorator_list ClassDef bases body Assign NameStore NameStore Dict Assign NameStore NameLoad Assign NameStore Num decorator_list For NameStore TupleLoad Str Str Str body Assign NameStore Call NameLoad NameLoad TryExcept body Expr Call NameLoad BinOpMod Str NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Pass orelse Raise NameLoad BinOpMod Str TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareNotEq Call AttributeLoad NameLoad attr Str Num decorator_list FunctionDef arguments args defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assert Call AttributeLoad CompareEq NameLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Print NameLoad Assert CompareNotIn Str NameLoad Assert CompareNotIn Str NameLoad decorator_list
N/A N/A sys N/A py py.__.magic.exprinfo getmsg interpret getexcinfo N/A N/A exc obj N/A args kwargs N/A N/A N/A N/A N/A obj args kwargs N/A N/A N/A KeyboardInterrupt N/A N/A N/A N/A exc N/A N/A N/A N/A sys exc_info N/A N/A AssertionError N/A %r(*%r, **%r) did not raise N/A obj args kwargs N/A test_assert_exprinfo N/A N/A N/A N/A g N/A N/A N/A N/A N/A a 1 N/A b 2 N/A N/A a b N/A N/A excinfo N/A getexcinfo AssertionError g N/A msg N/A getmsg excinfo N/A N/A msg assert 1 == 2 N/A test_nested_scopes N/A N/A N/A N/A g N/A N/A N/A N/A N/A a 1 h N/A N/A N/A N/A N/A a N/A N/A b 2 N/A N/A N/A h b N/A N/A excinfo N/A getexcinfo AssertionError g N/A msg N/A getmsg excinfo N/A N/A N/A msg startswith assert 1 == 2
 +  where 1 =  N/A test_nested_scopes_2 N/A N/A N/A N/A N/A a 1 g N/A N/A N/A N/A N/A b 2 N/A N/A a b N/A N/A excinfo N/A getexcinfo AssertionError g N/A msg N/A getmsg excinfo N/A N/A msg assert 1 == 2 N/A test_assert_func_argument_type_error N/A N/A N/A N/A f N/A N/A N/A N/A N/A N/A g N/A N/A N/A N/A N/A N/A f 1 N/A N/A excinfo N/A getexcinfo TypeError g N/A msg N/A getmsg excinfo N/A N/A N/A N/A msg find takes no argument -1 A N/A N/A f N/A N/A N/A N/A N/A N/A N/A g N/A N/A N/A N/A N/A N/A N/A N/A A f N/A N/A excinfo N/A getexcinfo TypeError g N/A msg N/A getmsg excinfo N/A N/A N/A N/A msg find takes no argument -1 g N/A N/A N/A N/A N/A N/A N/A A f N/A N/A excinfo N/A getexcinfo TypeError g N/A msg N/A getmsg excinfo N/A N/A N/A N/A msg find must be called with A -1 N/A global_f N/A N/A u v N/A 6 7 N/A N/A N/A u v N/A test_exprinfo_funccall N/A N/A N/A N/A g N/A N/A N/A N/A N/A N/A N/A global_f 43 N/A N/A excinfo N/A getexcinfo AssertionError g N/A msg N/A getmsg excinfo N/A N/A msg assert 42 == 43
 +  where 42 = global_f() N/A test_exprinfo_funccall_keywords N/A N/A N/A N/A g N/A N/A N/A N/A N/A N/A N/A global_f v 11 67 N/A N/A excinfo N/A getexcinfo AssertionError g N/A msg N/A getmsg excinfo N/A N/A msg assert 66 == 67
 +  where 66 = global_f(v=11) N/A test_interpretable_escapes_newlines N/A N/A N/A N/A X N/A object N/A __repr__ N/A N/A self N/A N/A N/A 1
2 N/A N/A g N/A N/A N/A N/A N/A N/A N/A X XXX N/A N/A excinfo N/A getexcinfo AssertionError g N/A msg N/A getmsg excinfo N/A N/A msg assert 1\n2 == 'XXX'
 +  where 1\n2 = <class 'py.__.magic.testing.test_exprinfo.X'>() N/A test_keyboard_interrupt N/A N/A N/A N/A DummyCode N/A N/A N/A co_filename dummy N/A co_firstlineno 0 N/A co_name dummy N/A DummyFrame N/A N/A N/A f_globals f_locals N/A N/A f_code DummyCode N/A f_lineno 0 N/A N/A exstr N/A SystemExit KeyboardInterrupt MemoryError N/A N/A ex N/A eval exstr N/A N/A N/A N/A interpret N/A raise %s exstr N/A N/A N/A py code Frame DummyFrame N/A N/A N/A ex N/A N/A N/A N/A AssertionError N/A ex %s didn't pass through N/A exstr N/A test_inconsistent_assert_result N/A N/A testdir N/A N/A N/A p N/A N/A testdir makepyfile 
        def test_func():
            def f(l=[1,0]): 
                return l.pop()
            assert f()
     N/A result N/A N/A testdir runpytest p N/A s N/A N/A N/A result stdout str N/A N/A N/A N/A s find re-run -1 N/A test_twoarg_comparison_does_not_call_nonzero N/A N/A N/A N/A X N/A object N/A __eq__ N/A N/A self other N/A N/A N/A self N/A __nonzero__ N/A N/A self N/A N/A N/A ValueError N/A all N/A N/A self N/A N/A N/A False N/A N/A f N/A N/A N/A N/A N/A a N/A X N/A b N/A X N/A N/A N/A N/A a b all N/A N/A excinfo N/A getexcinfo AssertionError f N/A msg N/A getmsg excinfo N/A msg N/A N/A re-run msg N/A N/A ValueError msg N/A