Module Expr Str ImportFrom alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body If UnaryOpNot Call NameLoad NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr body Return handlers ExceptHandler type NameLoad body Return Return Call NameLoad NameLoad keyword NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad Str NameLoad body Return Assign NameStore Call NameLoad NameLoad Str NameLoad If CompareIsNot NameLoad NameLoad body Expr Call NameLoad Assign NameStore Call NameLoad NameLoad Str NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad NameLoad Str NameLoad body Return Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Assign NameStore NameLoad For NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Str NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Expr Yield Call NameLoad NameLoad keyword NameLoad Assign NameStore NameLoad If UnaryOpNot NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad If BoolOpOr CompareIs NameLoad NameLoad CompareNotEq NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Expr Yield Call NameLoad Str keyword NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call NameLoad AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num body Expr Call NameLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Str NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body TryExcept body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad keyword NameLoad handlers ExceptHandler type TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise ExceptHandler body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Raise ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str body TryExcept body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults UnaryOpNot Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str If NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num TryExcept body Delete AttributeDel NameLoad attr handlers ExceptHandler type NameLoad body Pass decorator_list Call AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam defaults body If BoolOpAnd Call NameLoad NameLoad NameLoad CompareIn Str AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr orelse If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad NameLoad TryExcept body Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Yield Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad orelse Expr Yield decorator_list Call AttributeLoad NameLoad attr keyword NameLoad FunctionDef arguments args NameParam defaults ListLoad body If NameLoad body Return ImportFrom alias ImportFrom alias Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list
N/A N/A  discovery and running of std-library "unittest" style tests.  __future__ absolute_import N/A sys N/A traceback N/A pytest N/A _pytest._code _pytest.python transfer_markers _pytest.skipping MarkEvaluator pytest_pycollect_makeitem N/A N/A collector name obj N/A N/A N/A N/A N/A N/A N/A issubclass obj N/A N/A N/A sys modules N/A unittest TestCase N/A N/A N/A N/A N/A Exception N/A N/A N/A N/A UnitTestCase name parent collector N/A UnitTestCase N/A N/A pytest Class N/A N/A nofuncargs True setup N/A N/A self N/A N/A N/A cls N/A self obj N/A N/A getattr cls __unittest_skip__ False N/A N/A N/A setup N/A getattr cls setUpClass None N/A N/A setup None N/A N/A N/A setup N/A teardown N/A getattr cls tearDownClass None N/A N/A teardown None N/A N/A N/A N/A self addfinalizer teardown N/A N/A N/A N/A super UnitTestCase self setup N/A collect N/A N/A self N/A N/A unittest TestLoader N/A cls N/A self obj N/A N/A N/A getattr cls __test__ True N/A N/A N/A N/A N/A N/A N/A self session _fixturemanager parsefactories self unittest True N/A loader N/A TestLoader N/A module N/A N/A N/A self getparent N/A pytest Module obj N/A foundsomething False N/A name N/A N/A loader getTestCaseNames N/A self obj N/A N/A x N/A getattr N/A self obj name N/A funcobj N/A getattr x im_func x N/A N/A transfer_markers funcobj cls module N/A N/A N/A TestCaseFunction name parent self N/A foundsomething True N/A N/A foundsomething N/A N/A runtest N/A getattr N/A self obj runTest None N/A N/A runtest None N/A N/A ut N/A N/A N/A sys modules get twisted.trial.unittest None N/A N/A N/A ut None N/A runtest N/A N/A ut TestCase runTest N/A N/A N/A N/A TestCaseFunction runTest parent self N/A N/A TestCaseFunction N/A N/A pytest Function N/A N/A _excinfo None setup N/A N/A self N/A N/A N/A N/A self _testcase N/A N/A N/A self parent obj N/A self name N/A N/A N/A self _fix_unittest_skip_decorator N/A N/A self _obj N/A getattr N/A self _testcase N/A self name N/A N/A hasattr N/A self _testcase setup_method N/A N/A N/A N/A N/A self _testcase setup_method N/A self _obj N/A N/A hasattr self _request N/A N/A N/A N/A N/A self _request _fillfixtures N/A _fix_unittest_skip_decorator N/A N/A self N/A N/A N/A 
        The @unittest.skip decorator calls functools.wraps(self._testcase)
        The call to functools.wraps() fails unless self._testcase
        has a __name__ attribute. This is usually automatically supplied
        if the test is a function or method, but we need to add manually
        here.

        See issue #1169
         N/A N/A N/A N/A sys version_info N/A 0 2 N/A N/A N/A setattr N/A self _testcase __name__ N/A self name N/A teardown N/A N/A self N/A N/A N/A N/A hasattr N/A self _testcase teardown_method N/A N/A N/A N/A N/A self _testcase teardown_method N/A self _obj N/A startTest N/A N/A self testcase N/A N/A N/A N/A _addexcinfo N/A N/A self rawexcinfo N/A N/A N/A rawexcinfo N/A getattr rawexcinfo _rawexcinfo rawexcinfo N/A N/A N/A excinfo N/A N/A N/A _pytest _code ExceptionInfo rawexcinfo N/A N/A N/A TypeError N/A N/A N/A N/A N/A N/A l N/A N/A traceback format_exception rawexcinfo N/A N/A N/A l insert 0 NOTE: Incompatible Exception Representation, displaying natively:

 N/A N/A N/A pytest fail N/A N/A join l pytrace False N/A N/A N/A N/A N/A N/A pytest fail Exception KeyboardInterrupt N/A N/A N/A N/A N/A N/A N/A pytest fail N/A ERROR: Unknown Incompatible Exception representation:
%r N/A rawexcinfo pytrace False N/A N/A N/A KeyboardInterrupt N/A N/A N/A N/A N/A N/A pytest fail Exception N/A N/A excinfo N/A N/A N/A _pytest _code ExceptionInfo N/A N/A N/A N/A N/A N/A self __dict__ setdefault _excinfo N/A append excinfo N/A addError N/A N/A self testcase rawexcinfo N/A N/A N/A N/A N/A self _addexcinfo rawexcinfo N/A addFailure N/A N/A self testcase rawexcinfo N/A N/A N/A N/A N/A self _addexcinfo rawexcinfo N/A addSkip N/A N/A self testcase reason N/A N/A N/A N/A N/A N/A N/A pytest skip reason N/A N/A N/A N/A N/A pytest skip Exception N/A N/A N/A self _evalskip N/A MarkEvaluator self SkipTest N/A N/A N/A self _evalskip result True N/A N/A N/A self _addexcinfo N/A N/A sys exc_info N/A addExpectedFailure N/A N/A self testcase rawexcinfo reason N/A N/A N/A N/A N/A N/A N/A pytest xfail N/A str reason N/A N/A N/A N/A N/A pytest xfail Exception N/A N/A N/A N/A self _addexcinfo N/A N/A sys exc_info N/A addUnexpectedSuccess N/A N/A self testcase reason N/A N/A N/A N/A self _unexpectedsuccess reason N/A addSuccess N/A N/A self testcase N/A N/A N/A N/A stopTest N/A N/A self testcase N/A N/A N/A N/A runtest N/A N/A self N/A N/A N/A N/A N/A self _testcase result self N/A _prunetraceback N/A N/A self excinfo N/A N/A N/A N/A N/A N/A pytest Function _prunetraceback self excinfo N/A traceback N/A N/A N/A excinfo traceback filter N/A N/A N/A x N/A N/A N/A N/A N/A N/A x frame f_globals get __unittest N/A traceback N/A N/A N/A excinfo traceback traceback N/A N/A pytest_runtest_makereport N/A N/A item call N/A N/A N/A N/A isinstance item TestCaseFunction N/A N/A N/A item _excinfo N/A N/A N/A call excinfo N/A N/A N/A item _excinfo pop 0 N/A N/A N/A N/A call result N/A N/A N/A AttributeError N/A N/A N/A N/A N/A pytest hookimpl tryfirst True pytest_runtest_protocol N/A N/A item N/A N/A N/A N/A N/A isinstance item TestCaseFunction N/A twisted.trial.unittest N/A sys modules N/A N/A ut N/A N/A sys modules N/A twisted.python.failure N/A Failure__init__ N/A N/A ut Failure __init__ N/A N/A check_testcase_implements_trial_reporter excstore N/A N/A self exc_value exc_type exc_tb captureVars N/A None None None None N/A N/A N/A exc_value None N/A N/A N/A self _rawexcinfo N/A N/A sys exc_info N/A N/A N/A exc_type None N/A N/A exc_type N/A type exc_value N/A N/A self _rawexcinfo N/A exc_type exc_value exc_tb N/A N/A N/A N/A Failure__init__ self exc_value exc_type exc_tb captureVars captureVars N/A N/A N/A TypeError N/A N/A N/A Failure__init__ self exc_value exc_type exc_tb N/A N/A N/A N/A ut Failure __init__ excstore N/A N/A N/A N/A N/A ut Failure __init__ Failure__init__ N/A N/A N/A N/A N/A N/A pytest hookimpl hookwrapper True check_testcase_implements_trial_reporter N/A N/A done N/A N/A N/A N/A done N/A N/A zope.interface classImplements twisted.trial.itrial IReporter N/A N/A classImplements TestCaseFunction IReporter N/A N/A N/A done append 1 N/A