Module Import alias alias ImportFrom alias alias ClassDef bases body FunctionDef arguments args NameParam defaults body ImportFrom alias alias Assert UnaryOpNot Call NameLoad NameLoad NameLoad Assert UnaryOpNot Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assert Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assert Call NameLoad NameLoad AttributeLoad NameLoad attr Assert CompareEq NameLoad NameLoad Assert CompareNotEq NameLoad NameLoad If CompareLt AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Num Num body Assert CompareEq Call NameLoad NameLoad NameLoad Num Assert CompareEq Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assert Call NameLoad NameLoad AttributeLoad NameLoad attr Assert UnaryOpNot CompareEq NameLoad NameLoad Assert CompareNotEq NameLoad NameLoad For NameStore TupleLoad NameLoad NameLoad NameLoad body Assert CompareNotEq NameLoad Num Assert CompareNotEq NameLoad NameLoad Assert CompareNotEq NameLoad ListLoad Num Num Num Assert CompareNotEq ListLoad Num Num Num NameLoad Assert CompareNotEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareIs NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareIs NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareIs NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert Call NameLoad NameLoad AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr keyword NameLoad Assert CompareEq Call NameLoad NameLoad Num Assert Call NameLoad SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Str Str For NameStore Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareNotIn Str NameLoad Assert CompareIn Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr keyword Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assert CompareEq ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad ListLoad Str Str For NameStore TupleLoad Str Str Str body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assert CompareEq ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad ListLoad BinOpMod Str NameLoad For NameStore TupleLoad Str Str Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assert CompareEq ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad ListLoad BinOpMod Str NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr keyword ListLoad Call NameLoad Assert CompareEq Call NameLoad NameLoad Num Assert CompareEq AttributeLoad SubscriptLoad NameLoad Index Num attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword ListLoad Call NameLoad Assert CompareIn Str NameLoad Assert CompareIn Str NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareNotIn Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareNotIn Str Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareIn Str Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad NameLoad Index Num NameLoad Assert CompareEq Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Assert CompareEq SubscriptLoad NameLoad Index Num NameLoad Assert CompareEq SubscriptLoad NameLoad Index Num Str Assert CompareEq Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Str attr ListLoad AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assert CompareEq NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr keyword NameLoad Assert CompareEq Call NameLoad NameLoad Num Assert CompareEq AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Str attr ListLoad AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Assert CompareEq NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd AttributeLoad NameLoad attr Str For NameStore ListLoad AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str BinOpAdd AttributeLoad NameLoad attr Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad NameLoad Num Assert CompareEq AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Assert CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assert CompareEq Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assert CompareEq Call NameLoad NameLoad Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad NameLoad Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assert CompareEq Call NameLoad NameLoad Num Assign TupleStore NameStore NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad NameLoad Num Assign TupleStore NameStore NameLoad Assert Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assert Call NameLoad NameLoad AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assert CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore Call AttributeLoad NameLoad attr body Assert CompareIs AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assert Call NameLoad NameLoad AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Str Assert CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore Call AttributeLoad NameLoad attr body Assert CompareIs AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert CompareEq Call NameLoad NameLoad Num For TupleStore NameStore NameStore Call NameLoad NameLoad body For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareNotEq NameLoad NameLoad body Assert CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad Assert CompareNotEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad NameLoad Num Assert CompareEq AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assert CompareEq AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assert CompareEq AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assert CompareEq Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assert CompareEq Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assert CompareEq Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr keyword NameLoad Assert Call AttributeLoad NameLoad attr Str Print NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad Assert CompareEq NameLoad ListLoad Str Str decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assert CompareIn AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assert UnaryOpNot Call AttributeLoad NameLoad attr Str Assert CompareIn AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr keyword Num keyword Num decorator_list decorator_list
N/A N/A pytest py _pytest.main Session EXIT_NOTESTSCOLLECTED TestCollector N/A N/A test_collect_versus_item N/A N/A self N/A N/A pytest Collector Item N/A N/A N/A issubclass Collector Item N/A N/A N/A issubclass Item Collector N/A test_compat_attributes N/A N/A self testdir recwarn N/A N/A N/A modcol N/A N/A testdir getmodulecol 
            def test_pass(): pass
            def test_fail(): assert 0
         N/A N/A N/A recwarn clear N/A N/A N/A modcol Module N/A pytest Module N/A N/A N/A modcol Class N/A pytest Class N/A N/A N/A modcol Item N/A pytest Item N/A N/A N/A modcol File N/A pytest File N/A N/A N/A modcol Function N/A pytest Function N/A test_check_equality N/A N/A self testdir N/A N/A N/A modcol N/A N/A testdir getmodulecol 
            def test_pass(): pass
            def test_fail(): assert 0
         N/A fn1 N/A N/A testdir collect_by_name modcol test_pass N/A N/A isinstance fn1 N/A pytest Function N/A fn2 N/A N/A testdir collect_by_name modcol test_pass N/A N/A isinstance fn2 N/A pytest Function N/A N/A fn1 fn2 N/A N/A fn1 modcol N/A N/A N/A N/A N/A py std sys version_info N/A 3 0 N/A N/A N/A N/A cmp fn1 fn2 0 N/A N/A N/A hash fn1 N/A hash fn2 N/A fn3 N/A N/A testdir collect_by_name modcol test_fail N/A N/A isinstance fn3 N/A pytest Function N/A N/A N/A fn1 fn3 N/A N/A fn1 fn3 N/A fn N/A fn1 fn2 fn3 N/A N/A N/A fn 3 N/A N/A fn modcol N/A N/A fn N/A 1 2 3 N/A N/A N/A 1 2 3 fn N/A N/A modcol fn N/A test_getparent N/A N/A self testdir N/A N/A N/A modcol N/A N/A testdir getmodulecol 
            class TestClass:
                 def test_foo():
                     pass
         N/A cls N/A N/A testdir collect_by_name modcol TestClass N/A fn N/A N/A testdir collect_by_name N/A N/A testdir collect_by_name cls () test_foo N/A parent N/A N/A fn getparent N/A pytest Module N/A N/A parent modcol N/A parent N/A N/A fn getparent N/A pytest Function N/A N/A parent fn N/A parent N/A N/A fn getparent N/A pytest Class N/A N/A parent cls N/A test_getcustomfile_roundtrip N/A N/A self testdir N/A N/A N/A hello N/A N/A testdir makefile .xxx hello world N/A N/A N/A testdir makepyfile conftest 
            import pytest
            class CustomFile(pytest.File):
                pass
            def pytest_collect_file(path, parent):
                if path.ext == ".xxx":
                    return CustomFile(path, parent=parent)
         N/A node N/A N/A testdir getpathnode hello N/A N/A isinstance node N/A pytest File N/A N/A N/A node name hello.xxx N/A nodes N/A N/A N/A node session perform_collect N/A N/A node nodeid genitems False N/A N/A N/A len nodes 1 N/A N/A isinstance N/A nodes N/A 0 N/A pytest File N/A N/A TestCollectFS N/A N/A test_ignored_certain_directories N/A N/A self testdir N/A N/A N/A tmpdir N/A testdir tmpdir N/A N/A N/A tmpdir ensure _darcs test_notfound.py N/A N/A N/A tmpdir ensure CVS test_notfound.py N/A N/A N/A tmpdir ensure {arch} test_notfound.py N/A N/A N/A tmpdir ensure .whatever test_notfound.py N/A N/A N/A tmpdir ensure .bzr test_notfound.py N/A N/A N/A tmpdir ensure normal test_found.py N/A x N/A N/A tmpdir visit test_*.py N/A N/A N/A N/A x write def test_hello(): pass N/A result N/A N/A testdir runpytest --collect-only N/A s N/A N/A N/A result stdout str N/A N/A test_notfound s N/A N/A test_found s N/A test_custom_norecursedirs N/A N/A self testdir N/A N/A N/A N/A N/A testdir makeini 
            [pytest]
            norecursedirs = mydir xyz*
         N/A tmpdir N/A testdir tmpdir N/A N/A N/A N/A N/A tmpdir ensure mydir test_hello.py write def test_1(): pass N/A N/A N/A N/A N/A tmpdir ensure xyz123 test_2.py write def test_2(): 0/0 N/A N/A N/A N/A N/A tmpdir ensure xy test_ok.py write def test_3(): pass N/A rec N/A N/A testdir inline_run N/A N/A N/A rec assertoutcome passed 1 N/A rec N/A N/A testdir inline_run xyz123/test_2.py N/A N/A N/A rec assertoutcome failed 1 N/A test_testpaths_ini N/A N/A self testdir monkeypatch N/A N/A N/A N/A N/A testdir makeini 
            [pytest]
            testpaths = gui uts
         N/A tmpdir N/A testdir tmpdir N/A N/A N/A N/A N/A tmpdir ensure env test_1.py write def test_env(): pass N/A N/A N/A N/A N/A tmpdir ensure gui test_2.py write def test_gui(): pass N/A N/A N/A N/A N/A tmpdir ensure uts test_3.py write def test_uts(): pass N/A N/A items reprec N/A N/A testdir inline_genitems -v N/A N/A N/A N/A x name N/A x items N/A test_gui test_uts N/A dirname N/A env gui uts N/A N/A N/A items reprec N/A N/A testdir inline_genitems N/A N/A tmpdir join dirname N/A N/A N/A N/A x name N/A x items N/A N/A test_%s dirname N/A dirname N/A env gui uts N/A N/A N/A N/A monkeypatch chdir N/A N/A N/A testdir tmpdir join dirname N/A N/A items reprec N/A N/A testdir inline_genitems N/A N/A N/A N/A x name N/A x items N/A N/A test_%s dirname N/A N/A TestCollectPluginHookRelay N/A N/A test_pytest_collect_file N/A N/A self testdir N/A N/A N/A wascalled N/A Plugin N/A N/A pytest_collect_file N/A N/A self path parent N/A N/A N/A N/A N/A wascalled append path N/A N/A N/A N/A N/A testdir makefile .abc xyz N/A N/A N/A pytest main N/A N/A testdir tmpdir plugins N/A N/A Plugin N/A N/A N/A len wascalled 1 N/A N/A N/A N/A wascalled N/A 0 ext .abc N/A test_pytest_collect_directory N/A N/A self testdir N/A N/A N/A wascalled N/A Plugin N/A N/A pytest_collect_directory N/A N/A self path parent N/A N/A N/A N/A N/A wascalled append N/A path basename N/A N/A N/A N/A N/A testdir mkdir hello N/A N/A N/A testdir mkdir world N/A N/A N/A pytest main N/A testdir tmpdir plugins N/A N/A Plugin N/A N/A hello wascalled N/A N/A world wascalled N/A N/A TestPrunetraceback N/A N/A test_collection_error N/A N/A self testdir N/A N/A N/A p N/A N/A testdir makepyfile 
            import not_exists
         N/A result N/A N/A testdir runpytest p N/A N/A __import__ N/A N/A N/A result stdout str too long traceback N/A N/A N/A N/A result stdout fnmatch_lines N/A *ERROR collecting* *mport*not_exists* N/A test_custom_repr_failure N/A N/A self testdir N/A N/A N/A p N/A N/A testdir makepyfile 
            import not_exists
         N/A N/A N/A testdir makeconftest 
            import pytest
            def pytest_collect_file(path, parent):
                return MyFile(path, parent)
            class MyError(Exception):
                pass
            class MyFile(pytest.File):
                def collect(self):
                    raise MyError()
                def repr_failure(self, excinfo):
                    if excinfo.errisinstance(MyError):
                        return "hello world"
                    return pytest.File.repr_failure(self, excinfo)
         N/A result N/A N/A testdir runpytest p N/A N/A N/A N/A result stdout fnmatch_lines N/A *ERROR collecting* *hello world* N/A test_collect_report_postprocessing N/A N/A self testdir N/A N/A N/A p N/A N/A testdir makepyfile 
            import not_exists
         N/A N/A N/A testdir makeconftest 
            import pytest
            def pytest_make_collect_report(__multicall__):
                rep = __multicall__.execute()
                rep.headerlines += ["header1"]
                return rep
         N/A result N/A N/A testdir runpytest p N/A N/A N/A N/A result stdout fnmatch_lines N/A *ERROR collecting* *header1* N/A N/A N/A N/A pytest mark xfail reason other mechanism for adding to reporting needed N/A TestCustomConftests N/A N/A test_ignore_collect_path N/A N/A self testdir N/A N/A N/A N/A N/A testdir makeconftest 
            def pytest_ignore_collect(path, config):
                return path.basename.startswith("x") or                        path.basename == "test_one.py"
         N/A sub N/A N/A testdir mkdir xy123 N/A N/A N/A N/A N/A sub ensure test_hello.py write syntax error N/A N/A N/A N/A N/A sub join conftest.py write syntax error N/A N/A N/A testdir makepyfile def test_hello(): pass N/A N/A N/A testdir makepyfile test_one syntax error N/A result N/A N/A testdir runpytest --fulltrace 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_ignore_collect_not_called_on_argument N/A N/A self testdir N/A N/A N/A N/A N/A testdir makeconftest 
            def pytest_ignore_collect(path, config):
                return True
         N/A p N/A N/A testdir makepyfile def test_hello(): pass N/A result N/A N/A testdir runpytest p N/A N/A N/A result ret 0 N/A N/A N/A N/A result stdout fnmatch_lines *1 passed* N/A result N/A N/A testdir runpytest N/A N/A N/A result ret EXIT_NOTESTSCOLLECTED N/A N/A N/A N/A result stdout fnmatch_lines *collected 0 items* N/A test_collectignore_exclude_on_option N/A N/A self testdir N/A N/A N/A N/A N/A testdir makeconftest 
            collect_ignore = ['hello', 'test_world.py']
            def pytest_addoption(parser):
                parser.addoption("--XX", action="store_true", default=False)
            def pytest_configure(config):
                if config.getvalue("XX"):
                    collect_ignore[:] = []
         N/A N/A N/A testdir mkdir hello N/A N/A N/A testdir makepyfile test_world def test_hello(): pass N/A result N/A N/A testdir runpytest N/A N/A N/A result ret EXIT_NOTESTSCOLLECTED N/A N/A passed N/A N/A N/A result stdout str N/A result N/A N/A testdir runpytest --XX N/A N/A N/A result ret 0 N/A N/A passed N/A N/A N/A result stdout str N/A test_pytest_fs_collect_hooks_are_seen N/A N/A self testdir N/A N/A N/A N/A N/A testdir makeconftest 
            import pytest
            class MyModule(pytest.Module):
                pass
            def pytest_collect_file(path, parent):
                if path.ext == ".py":
                    return MyModule(path, parent)
         N/A N/A N/A testdir mkdir sub N/A N/A N/A testdir makepyfile def test_x(): pass N/A result N/A N/A testdir runpytest --collect-only N/A N/A N/A N/A result stdout fnmatch_lines N/A *MyModule* *test_x* N/A test_pytest_collect_file_from_sister_dir N/A N/A self testdir N/A N/A N/A sub1 N/A N/A testdir mkpydir sub1 N/A sub2 N/A N/A testdir mkpydir sub2 N/A conf1 N/A N/A testdir makeconftest 
            import pytest
            class MyModule1(pytest.Module):
                pass
            def pytest_collect_file(path, parent):
                if path.ext == ".py":
                    return MyModule1(path, parent)
         N/A N/A N/A conf1 move N/A N/A sub1 join N/A conf1 basename N/A conf2 N/A N/A testdir makeconftest 
            import pytest
            class MyModule2(pytest.Module):
                pass
            def pytest_collect_file(path, parent):
                if path.ext == ".py":
                    return MyModule2(path, parent)
         N/A N/A N/A conf2 move N/A N/A sub2 join N/A conf2 basename N/A p N/A N/A testdir makepyfile def test_x(): pass N/A N/A N/A p copy N/A N/A sub1 join N/A p basename N/A N/A N/A p copy N/A N/A sub2 join N/A p basename N/A result N/A N/A testdir runpytest --collect-only N/A N/A N/A N/A result stdout fnmatch_lines N/A *MyModule1* *MyModule2* *test_x* N/A N/A TestSession N/A N/A test_parsearg N/A N/A self testdir N/A N/A N/A p N/A N/A testdir makepyfile def test_func(): pass N/A subdir N/A N/A testdir mkdir sub N/A N/A N/A subdir ensure __init__.py N/A target N/A N/A subdir join N/A p basename N/A N/A N/A p move target N/A N/A N/A subdir chdir N/A config N/A N/A testdir parseconfig N/A p basename N/A rcol N/A Session config config N/A N/A N/A rcol fspath subdir N/A parts N/A N/A rcol _parsearg N/A p basename N/A N/A N/A parts N/A 0 target N/A N/A N/A len parts 1 N/A parts N/A N/A rcol _parsearg N/A N/A p basename ::test_func N/A N/A N/A parts N/A 0 target N/A N/A N/A parts N/A 1 test_func N/A N/A N/A len parts 2 N/A test_collect_topdir N/A N/A self testdir N/A N/A N/A p N/A N/A testdir makepyfile def test_func(): pass N/A id N/A N/A :: join N/A N/A p basename test_func N/A config N/A N/A testdir parseconfig id N/A topdir N/A testdir tmpdir N/A rcol N/A Session config N/A N/A topdir N/A rcol fspath N/A colitems N/A N/A rcol perform_collect N/A N/A rcol nodeid genitems False N/A N/A N/A len colitems 1 N/A N/A N/A N/A colitems N/A 0 fspath p N/A test_collect_protocol_single_function N/A N/A self testdir N/A N/A N/A p N/A N/A testdir makepyfile def test_func(): pass N/A id N/A N/A :: join N/A N/A p basename test_func N/A N/A items hookrec N/A N/A testdir inline_genitems id N/A N/A item items N/A N/A N/A item name test_func N/A newid N/A item nodeid N/A N/A newid id N/A N/A N/A N/A N/A py std pprint pprint N/A hookrec calls N/A topdir N/A testdir tmpdir N/A N/A N/A hookrec assert_contains N/A N/A pytest_collectstart collector.fspath == topdir N/A pytest_make_collect_report collector.fspath == topdir N/A pytest_collectstart collector.fspath == p N/A pytest_make_collect_report collector.fspath == p N/A pytest_pycollect_makeitem name == 'test_func' N/A pytest_collectreport report.nodeid.startswith(p.basename) N/A pytest_collectreport report.nodeid == '' N/A test_collect_protocol_method N/A N/A self testdir N/A N/A N/A p N/A N/A testdir makepyfile 
            class TestClass:
                def test_method(self):
                    pass
         N/A normid N/A N/A p basename ::TestClass::()::test_method N/A id N/A N/A p basename N/A N/A p basename ::TestClass N/A N/A p basename ::TestClass::() normid N/A N/A N/A items hookrec N/A N/A testdir inline_genitems id N/A N/A N/A len items 1 N/A N/A N/A N/A items N/A 0 name test_method N/A newid N/A N/A items N/A 0 nodeid N/A N/A newid normid N/A test_collect_custom_nodes_multi_id N/A N/A self testdir N/A N/A N/A p N/A N/A testdir makepyfile def test_func(): pass N/A N/A N/A testdir makeconftest N/A 
            import pytest
            class SpecialItem(pytest.Item):
                def runtest(self):
                    return # ok
            class SpecialFile(pytest.File):
                def collect(self):
                    return [SpecialItem(name="check", parent=self)]
            def pytest_collect_file(path, parent):
                if path.basename == %r:
                    return SpecialFile(fspath=path, parent=parent)
         N/A p basename N/A id N/A p basename N/A N/A items hookrec N/A N/A testdir inline_genitems id N/A N/A N/A N/A N/A py std pprint pprint N/A hookrec calls N/A N/A N/A len items 2 N/A N/A N/A hookrec assert_contains N/A N/A pytest_collectstart collector.fspath == collector.session.fspath N/A pytest_collectstart collector.__class__.__name__ == 'SpecialFile' N/A pytest_collectstart collector.__class__.__name__ == 'Module' N/A pytest_pycollect_makeitem name == 'test_func' N/A pytest_collectreport report.nodeid.startswith(p.basename) N/A test_collect_subdir_event_ordering N/A N/A self testdir N/A N/A N/A p N/A N/A testdir makepyfile def test_func(): pass N/A aaa N/A N/A testdir mkpydir aaa N/A test_aaa N/A N/A aaa join test_aaa.py N/A N/A N/A p move test_aaa N/A N/A items hookrec N/A N/A testdir inline_genitems N/A N/A N/A len items 1 N/A N/A N/A N/A N/A py std pprint pprint N/A hookrec calls N/A N/A N/A hookrec assert_contains N/A N/A pytest_collectstart collector.fspath == test_aaa N/A pytest_pycollect_makeitem name == 'test_func' N/A pytest_collectreport report.nodeid.startswith('aaa/test_aaa.py') N/A test_collect_two_commandline_args N/A N/A self testdir N/A N/A N/A p N/A N/A testdir makepyfile def test_func(): pass N/A aaa N/A N/A testdir mkpydir aaa N/A bbb N/A N/A testdir mkpydir bbb N/A test_aaa N/A N/A aaa join test_aaa.py N/A N/A N/A p copy test_aaa N/A test_bbb N/A N/A bbb join test_bbb.py N/A N/A N/A p move test_bbb N/A id . N/A N/A items hookrec N/A N/A testdir inline_genitems id N/A N/A N/A len items 2 N/A N/A N/A N/A N/A py std pprint pprint N/A hookrec calls N/A N/A N/A hookrec assert_contains N/A N/A pytest_collectstart collector.fspath == test_aaa N/A pytest_pycollect_makeitem name == 'test_func' N/A pytest_collectreport report.nodeid == 'aaa/test_aaa.py' N/A pytest_collectstart collector.fspath == test_bbb N/A pytest_pycollect_makeitem name == 'test_func' N/A pytest_collectreport report.nodeid == 'bbb/test_bbb.py' N/A test_serialization_byid N/A N/A self testdir N/A N/A N/A N/A N/A testdir makepyfile def test_func(): pass N/A N/A items hookrec N/A N/A testdir inline_genitems N/A N/A N/A len items 1 N/A N/A item items N/A N/A items2 hookrec N/A N/A testdir inline_genitems N/A item nodeid N/A N/A item2 items2 N/A N/A N/A item2 name N/A item name N/A N/A N/A item2 fspath N/A item fspath N/A test_find_byid_without_instance_parents N/A N/A self testdir N/A N/A N/A p N/A N/A testdir makepyfile 
            class TestClass:
                def test_method(self):
                    pass
         N/A arg N/A N/A p basename ::TestClass::test_method N/A N/A items hookrec N/A N/A testdir inline_genitems arg N/A N/A N/A len items 1 N/A N/A item items N/A N/A N/A N/A item nodeid endswith TestClass::()::test_method N/A N/A Test_getinitialnodes N/A N/A test_global_file N/A N/A self testdir tmpdir N/A N/A N/A x N/A N/A tmpdir ensure x.py N/A config N/A N/A testdir parseconfigure x N/A col N/A N/A testdir getnode config x N/A N/A isinstance col N/A pytest Module N/A N/A N/A col name x.py N/A N/A N/A N/A col parent name N/A N/A testdir tmpdir basename N/A N/A N/A N/A col parent parent None N/A col N/A N/A col listchain N/A N/A N/A N/A col config config N/A test_pkgfile N/A N/A self testdir N/A N/A N/A tmpdir N/A testdir tmpdir N/A subdir N/A N/A tmpdir join subdir N/A x N/A N/A subdir ensure x.py N/A N/A N/A subdir ensure __init__.py N/A config N/A N/A testdir parseconfigure x N/A col N/A N/A testdir getnode config x N/A N/A isinstance col N/A pytest Module N/A N/A N/A col name x.py N/A N/A N/A N/A col parent parent None N/A col N/A N/A col listchain N/A N/A N/A N/A col config config N/A N/A Test_genitems N/A N/A test_check_collect_hashes N/A N/A self testdir N/A N/A N/A p N/A N/A testdir makepyfile 
            def test_1():
                pass

            def test_2():
                pass
         N/A N/A N/A p copy N/A N/A p dirpath N/A N/A N/A p purebasename 2 .py N/A N/A items reprec N/A N/A testdir inline_genitems N/A N/A p dirpath N/A N/A N/A len items 4 N/A N/A numi i N/A enumerate items N/A N/A N/A numj j N/A enumerate items N/A N/A N/A numj numi N/A N/A N/A N/A hash i N/A hash j N/A N/A i j N/A test_example_items1 N/A N/A self testdir N/A N/A N/A p N/A N/A testdir makepyfile 
            def testone():
                pass

            class TestX:
                def testmethod_one(self):
                    pass

            class TestY(TestX):
                pass
         N/A N/A items reprec N/A N/A testdir inline_genitems p N/A N/A N/A len items 3 N/A N/A N/A N/A items N/A 0 name testone N/A N/A N/A N/A items N/A 1 name testmethod_one N/A N/A N/A N/A items N/A 2 name testmethod_one N/A N/A N/A N/A N/A items N/A 0 getmodpath testone N/A N/A N/A N/A N/A items N/A 1 getmodpath TestX.testmethod_one N/A N/A N/A N/A N/A items N/A 2 getmodpath TestY.testmethod_one N/A s N/A N/A N/A items N/A 0 getmodpath stopatmodule False N/A N/A N/A s endswith test_example_items1.testone N/A s N/A test_class_and_functions_discovery_using_glob N/A N/A self testdir N/A N/A N/A 
        tests that python_classes and python_functions config options work
        as prefixes and glob-like patterns (issue #600).
         N/A N/A N/A testdir makeini 
            [pytest]
            python_classes = *Suite Test
            python_functions = *_test test
         N/A p N/A N/A testdir makepyfile 
            class MyTestSuite:
                def x_test(self):
                    pass

            class TestCase:
                def test_y(self):
                    pass
         N/A N/A items reprec N/A N/A testdir inline_genitems p N/A ids N/A N/A N/A x getmodpath N/A x items N/A N/A ids N/A MyTestSuite.x_test TestCase.test_y N/A N/A test_matchnodes_two_collections_same_file N/A N/A testdir N/A N/A N/A N/A N/A testdir makeconftest 
        import pytest
        def pytest_configure(config):
            config.pluginmanager.register(Plugin2())

        class Plugin2:
            def pytest_collect_file(self, path, parent):
                if path.ext == ".abc":
                    return MyFile2(path, parent)

        def pytest_collect_file(path, parent):
            if path.ext == ".abc":
                return MyFile1(path, parent)

        class MyFile1(pytest.Item, pytest.File):
            def runtest(self):
                pass
        class MyFile2(pytest.File):
            def collect(self):
                return [Item2("hello", parent=self)]

        class Item2(pytest.Item):
            def runtest(self):
                pass
     N/A p N/A N/A testdir makefile .abc N/A result N/A N/A testdir runpytest N/A N/A N/A result ret 0 N/A N/A N/A N/A result stdout fnmatch_lines N/A *2 passed* N/A res N/A N/A testdir runpytest N/A %s::hello N/A p basename N/A N/A N/A N/A res stdout fnmatch_lines N/A *1 passed* N/A TestNodekeywords N/A N/A test_no_under N/A N/A self testdir N/A N/A N/A modcol N/A N/A testdir getmodulecol 
            def test_pass(): pass
            def test_fail(): assert 0
         N/A l N/A list N/A modcol keywords N/A N/A N/A modcol name l N/A x l N/A N/A N/A N/A N/A x startswith _ N/A N/A N/A modcol name N/A repr N/A modcol keywords N/A test_issue345 N/A N/A self testdir N/A N/A N/A N/A N/A testdir makepyfile 
            def test_should_not_be_selected():
                assert False, 'I should not have been selected to run'

            def test___repr__():
                pass
         N/A reprec N/A N/A testdir inline_run -k repr N/A N/A N/A reprec assertoutcome passed 1 failed 0 N/A N/A