Module Import alias ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareNotEq AttributeLoad NameLoad attr Num Assert Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Assert CompareEq AttributeLoad NameLoad attr Num Assert Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpMod Str NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assert Call AttributeLoad Call AttributeLoad NameLoad attr Str attr keyword Num decorator_list FunctionDef arguments args NameParam 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 ListLoad Str Str Assert CompareEq AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Assert CompareEq AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assert CompareNotEq AttributeLoad NameLoad attr Num Assert Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad BinOpMod Str TupleLoad NameLoad decorator_list decorator_list
N/A N/A py TestGeneralUsage N/A N/A test_config_error N/A N/A self testdir N/A N/A N/A N/A N/A testdir makeconftest 
            def pytest_configure(config):
                raise config.Error("hello")
         N/A result N/A N/A testdir runpytest N/A testdir tmpdir N/A N/A N/A result ret 0 N/A N/A N/A N/A result stderr fnmatch_lines N/A *ERROR: hello N/A test_config_preparse_plugin_option N/A N/A self testdir N/A N/A N/A N/A N/A testdir makepyfile pytest_xyz 
            def pytest_addoption(parser):
                parser.addoption("--xyz", dest="xyz", action="store")
         N/A N/A N/A testdir makepyfile test_one 
            import py
            def test_option():
                assert py.test.config.option.xyz == "123"
         N/A result N/A N/A testdir runpytest -p xyz --xyz=123 N/A N/A N/A result ret 0 N/A N/A N/A N/A result stdout fnmatch_lines N/A *1 passed* N/A test_basetemp N/A N/A self testdir N/A N/A N/A mytemp N/A N/A N/A testdir tmpdir mkdir mytemp N/A p N/A N/A testdir makepyfile 
            import py
            def test_1(): 
                py.test.ensuretemp('xyz')
         N/A result N/A N/A testdir runpytest p N/A --basetemp=%s mytemp N/A N/A N/A result ret 0 N/A N/A N/A N/A N/A mytemp join xyz check dir 1 N/A test_assertion_magic N/A N/A self testdir N/A N/A N/A p N/A N/A testdir makepyfile 
            def test_this():
                x = 0
                assert x
         N/A result N/A N/A testdir runpytest p N/A extra N/A N/A N/A result stdout fnmatch_lines N/A >       assert x E       assert 0 N/A N/A N/A result ret 1 N/A test_nested_import_error N/A N/A self testdir N/A N/A N/A p N/A N/A testdir makepyfile 
                import import_fails
                def test_this():
                    assert import_fails.a == 1
         N/A N/A N/A testdir makepyfile import_fails import does_not_work N/A result N/A N/A testdir runpytest p N/A extra N/A N/A N/A result stdout fnmatch_lines N/A >   import import_fails E   ImportError: No module named does_not_work N/A N/A N/A result ret 1 N/A test_not_collectable_arguments N/A N/A self testdir N/A N/A N/A p1 N/A N/A testdir makepyfile N/A p2 N/A N/A testdir makefile .pyc 123 N/A result N/A N/A testdir runpytest p1 p2 N/A N/A N/A result ret 0 N/A N/A N/A N/A result stderr fnmatch_lines N/A N/A *ERROR: can't collect: %s N/A p2 N/A N/A