Patrick von Platen 0c7fe37e2f add hf hub
2021-12-08 23:01:51 +01:00

1 line
53 KiB
JSON

{".class": "MypyFile", "_fullname": "_pytest.assertion.rewrite", "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "<callable subtype of object>": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "_pytest.assertion.rewrite.<callable subtype of object>", "name": "object", "type_vars": []}, "flags": [], "fullname": "_pytest.assertion.rewrite.<callable subtype of object>", "metaclass_type": null, "metadata": {}, "module_name": "_pytest.assertion.rewrite", "mro": ["_pytest.assertion.rewrite.<callable subtype of object>", "builtins.object"], "names": {".class": "SymbolTable", "__call__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "_pytest.assertion.rewrite.<callable subtype of object>.__call__", "name": "__call__", "type": {".class": "CallableType", "arg_kinds": [2, 4], "arg_names": [null, null], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": true, "name": null, "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, "type_guard": null, "variables": []}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "AssertionRewriter": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["ast.NodeVisitor"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "_pytest.assertion.rewrite.AssertionRewriter", "name": "AssertionRewriter", "type_vars": []}, "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter", "metaclass_type": null, "metadata": {}, "module_name": "_pytest.assertion.rewrite", "mro": ["_pytest.assertion.rewrite.AssertionRewriter", "ast.NodeVisitor", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["self", "module_path", "config", "source"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0], "arg_names": ["self", "module_path", "config", "source"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewriter", {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["_pytest.config.Config", {".class": "NoneType"}]}, "builtins.bytes"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__init__ of AssertionRewriter", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "_assert_expr_to_lineno": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "_pytest.assertion.rewrite.AssertionRewriter._assert_expr_to_lineno", "name": "_assert_expr_to_lineno", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewriter"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "_assert_expr_to_lineno of AssertionRewriter", "ret_type": {".class": "Instance", "args": ["builtins.int", "builtins.str"], "type_ref": "builtins.dict"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "_assert_expr_to_lineno", "type": {".class": "Instance", "args": [{".class": "Instance", "args": ["builtins.int", "builtins.str"], "type_ref": "builtins.dict"}], "type_ref": "functools._lru_cache_wrapper"}}}}, "assign": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "expr"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.assign", "name": "assign", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "expr"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewriter", "_ast.expr"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "assign of AssertionRewriter", "ret_type": "_ast.Name", "type_guard": null, "variables": []}}}, "builtin": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "name"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.builtin", "name": "builtin", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "name"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewriter", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "builtin of AssertionRewriter", "ret_type": "_ast.Attribute", "type_guard": null, "variables": []}}}, "config": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.config", "name": "config", "type": {".class": "UnionType", "items": ["_pytest.config.Config", {".class": "NoneType"}]}}}, "display": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "expr"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.display", "name": "display", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "expr"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewriter", "_ast.expr"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "display of AssertionRewriter", "ret_type": "_ast.expr", "type_guard": null, "variables": []}}}, "enable_assertion_pass_hook": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.enable_assertion_pass_hook", "name": "enable_assertion_pass_hook", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "expl_stmts": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.expl_stmts", "name": "expl_stmts", "type": {".class": "Instance", "args": ["_ast.stmt"], "type_ref": "builtins.list"}}}, "explanation_param": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "expr"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.explanation_param", "name": "explanation_param", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "expr"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewriter", "_ast.expr"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "explanation_param of AssertionRewriter", "ret_type": "builtins.str", "type_guard": null, "variables": []}}}, "explanation_specifiers": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.explanation_specifiers", "name": "explanation_specifiers", "type": {".class": "Instance", "args": ["builtins.str", "_ast.expr"], "type_ref": "builtins.dict"}}}, "format_variables": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.format_variables", "name": "format_variables", "type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}}}, "generic_visit": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "node"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.generic_visit", "name": "generic_visit", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "node"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewriter", "_ast.AST"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "generic_visit of AssertionRewriter", "ret_type": {".class": "TupleType", "implicit": false, "items": ["_ast.Name", "builtins.str"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, "type_guard": null, "variables": []}}}, "helper": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 2], "arg_names": ["self", "name", "args"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.helper", "name": "helper", "type": {".class": "CallableType", "arg_kinds": [0, 0, 2], "arg_names": ["self", "name", "args"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewriter", "builtins.str", "_ast.expr"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "helper of AssertionRewriter", "ret_type": "_ast.expr", "type_guard": null, "variables": []}}}, "is_rewrite_disabled": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["docstring"], "flags": ["is_static", "is_decorated"], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.is_rewrite_disabled", "name": "is_rewrite_disabled", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["docstring"], "arg_types": ["builtins.str"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "is_rewrite_disabled of AssertionRewriter", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_staticmethod", "is_ready"], "fullname": null, "name": "is_rewrite_disabled", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["docstring"], "arg_types": ["builtins.str"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "is_rewrite_disabled of AssertionRewriter", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}}, "module_path": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.module_path", "name": "module_path", "type": {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}}}, "pop_format_context": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "expl_expr"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.pop_format_context", "name": "pop_format_context", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "expl_expr"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewriter", "_ast.expr"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "pop_format_context of AssertionRewriter", "ret_type": "_ast.Name", "type_guard": null, "variables": []}}}, "push_format_context": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.push_format_context", "name": "push_format_context", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewriter"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "push_format_context of AssertionRewriter", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "run": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "mod"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.run", "name": "run", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "mod"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewriter", "_ast.Module"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "run of AssertionRewriter", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "source": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.source", "name": "source", "type": "builtins.bytes"}}, "stack": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.stack", "name": "stack", "type": {".class": "Instance", "args": [{".class": "Instance", "args": ["builtins.str", "_ast.expr"], "type_ref": "builtins.dict"}], "type_ref": "builtins.list"}}}, "statements": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.statements", "name": "statements", "type": {".class": "Instance", "args": ["_ast.stmt"], "type_ref": "builtins.list"}}}, "variable": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.variable", "name": "variable", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewriter"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "variable of AssertionRewriter", "ret_type": "builtins.str", "type_guard": null, "variables": []}}}, "variable_counter": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.variable_counter", "name": "variable_counter", "type": {".class": "Instance", "args": ["builtins.int"], "type_ref": "itertools.count"}}}, "variables": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.variables", "name": "variables", "type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}}}, "visit_Assert": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "assert_"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.visit_Assert", "name": "visit_Assert", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "assert_"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewriter", "_ast.Assert"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "visit_Assert of AssertionRewriter", "ret_type": {".class": "Instance", "args": ["_ast.stmt"], "type_ref": "builtins.list"}, "type_guard": null, "variables": []}}}, "visit_Attribute": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "attr"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.visit_Attribute", "name": "visit_Attribute", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "attr"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewriter", "_ast.Attribute"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "visit_Attribute of AssertionRewriter", "ret_type": {".class": "TupleType", "implicit": false, "items": ["_ast.Name", "builtins.str"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, "type_guard": null, "variables": []}}}, "visit_BinOp": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "binop"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.visit_BinOp", "name": "visit_BinOp", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "binop"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewriter", "_ast.BinOp"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "visit_BinOp of AssertionRewriter", "ret_type": {".class": "TupleType", "implicit": false, "items": ["_ast.Name", "builtins.str"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, "type_guard": null, "variables": []}}}, "visit_BoolOp": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "boolop"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.visit_BoolOp", "name": "visit_BoolOp", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "boolop"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewriter", "_ast.BoolOp"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "visit_BoolOp of AssertionRewriter", "ret_type": {".class": "TupleType", "implicit": false, "items": ["_ast.Name", "builtins.str"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, "type_guard": null, "variables": []}}}, "visit_Call": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "call"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.visit_Call", "name": "visit_Call", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "call"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewriter", "_ast.Call"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "visit_Call of AssertionRewriter", "ret_type": {".class": "TupleType", "implicit": false, "items": ["_ast.Name", "builtins.str"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, "type_guard": null, "variables": []}}}, "visit_Compare": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "comp"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.visit_Compare", "name": "visit_Compare", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "comp"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewriter", "_ast.Compare"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "visit_Compare of AssertionRewriter", "ret_type": {".class": "TupleType", "implicit": false, "items": ["_ast.expr", "builtins.str"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, "type_guard": null, "variables": []}}}, "visit_Name": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "name"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.visit_Name", "name": "visit_Name", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "name"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewriter", "_ast.Name"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "visit_Name of AssertionRewriter", "ret_type": {".class": "TupleType", "implicit": false, "items": ["_ast.Name", "builtins.str"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, "type_guard": null, "variables": []}}}, "visit_Starred": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "starred"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.visit_Starred", "name": "visit_Starred", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "starred"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewriter", "_ast.Starred"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "visit_Starred of AssertionRewriter", "ret_type": {".class": "TupleType", "implicit": false, "items": ["_ast.Starred", "builtins.str"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, "type_guard": null, "variables": []}}}, "visit_UnaryOp": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "unary"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewriter.visit_UnaryOp", "name": "visit_UnaryOp", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "unary"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewriter", "_ast.UnaryOp"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "visit_UnaryOp of AssertionRewriter", "ret_type": {".class": "TupleType", "implicit": false, "items": ["_ast.Name", "builtins.str"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, "type_guard": null, "variables": []}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "AssertionRewritingHook": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["importlib.abc.MetaPathFinder", "importlib.abc.Loader"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "_pytest.assertion.rewrite.AssertionRewritingHook", "name": "AssertionRewritingHook", "type_vars": []}, "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewritingHook", "metaclass_type": "abc.ABCMeta", "metadata": {}, "module_name": "_pytest.assertion.rewrite", "mro": ["_pytest.assertion.rewrite.AssertionRewritingHook", "importlib.abc.MetaPathFinder", "importlib.abc.Finder", "importlib.abc.Loader", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "config"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewritingHook.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "config"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewritingHook", "_pytest.config.Config"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__init__ of AssertionRewritingHook", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "_basenames_to_check_rewrite": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewritingHook._basenames_to_check_rewrite", "name": "_basenames_to_check_rewrite", "type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.set"}}}, "_early_rewrite_bailout": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "name", "state"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewritingHook._early_rewrite_bailout", "name": "_early_rewrite_bailout", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["self", "name", "state"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewritingHook", "builtins.str", "_pytest.assertion.AssertionState"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "_early_rewrite_bailout of AssertionRewritingHook", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}, "_find_spec": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "_pytest.assertion.rewrite.AssertionRewritingHook._find_spec", "name": "_find_spec", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1], "arg_names": ["fullname", "path", "target"], "arg_types": ["builtins.str", {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.bytes", "builtins.str"]}], "type_ref": "typing.Sequence"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["types.ModuleType", {".class": "NoneType"}]}], "bound_args": [{".class": "TypeType", "item": "importlib.machinery.PathFinder"}], "def_extras": {"first_arg": "cls"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "UnionType", "items": ["importlib.machinery.ModuleSpec", {".class": "NoneType"}]}, "type_guard": null, "variables": []}}}, "_is_marked_for_rewrite": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "name", "state"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewritingHook._is_marked_for_rewrite", "name": "_is_marked_for_rewrite", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["self", "name", "state"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewritingHook", "builtins.str", "_pytest.assertion.AssertionState"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "_is_marked_for_rewrite of AssertionRewritingHook", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}, "_marked_for_rewrite_cache": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "_pytest.assertion.rewrite.AssertionRewritingHook._marked_for_rewrite_cache", "name": "_marked_for_rewrite_cache", "type": {".class": "Instance", "args": ["builtins.str", "builtins.bool"], "type_ref": "builtins.dict"}}}, "_must_rewrite": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "_pytest.assertion.rewrite.AssertionRewritingHook._must_rewrite", "name": "_must_rewrite", "type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.set"}}}, "_rewritten_names": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "_pytest.assertion.rewrite.AssertionRewritingHook._rewritten_names", "name": "_rewritten_names", "type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.set"}}}, "_session_paths_checked": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewritingHook._session_paths_checked", "name": "_session_paths_checked", "type": "builtins.bool"}}, "_should_rewrite": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["self", "name", "fn", "state"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewritingHook._should_rewrite", "name": "_should_rewrite", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0], "arg_names": ["self", "name", "fn", "state"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewritingHook", "builtins.str", "builtins.str", "_pytest.assertion.AssertionState"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "_should_rewrite of AssertionRewritingHook", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}, "_warn_already_imported": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "name"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewritingHook._warn_already_imported", "name": "_warn_already_imported", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "name"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewritingHook", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "_warn_already_imported of AssertionRewritingHook", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "_writing_pyc": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewritingHook._writing_pyc", "name": "_writing_pyc", "type": "builtins.bool"}}, "config": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewritingHook.config", "name": "config", "type": "_pytest.config.Config"}}, "create_module": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "spec"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewritingHook.create_module", "name": "create_module", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "spec"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewritingHook", "importlib.machinery.ModuleSpec"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "create_module of AssertionRewritingHook", "ret_type": {".class": "UnionType", "items": ["types.ModuleType", {".class": "NoneType"}]}, "type_guard": null, "variables": []}}}, "exec_module": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "module"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewritingHook.exec_module", "name": "exec_module", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "module"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewritingHook", "types.ModuleType"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "exec_module of AssertionRewritingHook", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "find_spec": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1, 1], "arg_names": ["self", "name", "path", "target"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewritingHook.find_spec", "name": "find_spec", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1, 1], "arg_names": ["self", "name", "path", "target"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewritingHook", "builtins.str", {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "UnionType", "items": ["builtins.str", "builtins.bytes"]}], "type_ref": "typing.Sequence"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["types.ModuleType", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "find_spec of AssertionRewritingHook", "ret_type": {".class": "UnionType", "items": ["importlib.machinery.ModuleSpec", {".class": "NoneType"}]}, "type_guard": null, "variables": []}}}, "fnpats": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewritingHook.fnpats", "name": "fnpats", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "get_data": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "pathname"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewritingHook.get_data", "name": "get_data", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "pathname"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewritingHook", {".class": "UnionType", "items": ["builtins.str", "builtins.bytes"]}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "get_data of AssertionRewritingHook", "ret_type": "builtins.bytes", "type_guard": null, "variables": []}}}, "mark_rewrite": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2], "arg_names": ["self", "names"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewritingHook.mark_rewrite", "name": "mark_rewrite", "type": {".class": "CallableType", "arg_kinds": [0, 2], "arg_names": ["self", "names"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewritingHook", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "mark_rewrite of AssertionRewritingHook", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "session": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "_pytest.assertion.rewrite.AssertionRewritingHook.session", "name": "session", "type": {".class": "UnionType", "items": ["_pytest.main.Session", {".class": "NoneType"}]}}}, "set_session": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "session"], "flags": [], "fullname": "_pytest.assertion.rewrite.AssertionRewritingHook.set_session", "name": "set_session", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "session"], "arg_types": ["_pytest.assertion.rewrite.AssertionRewritingHook", {".class": "UnionType", "items": ["_pytest.main.Session", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "set_session of AssertionRewritingHook", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "AssertionState": {".class": "SymbolTableNode", "cross_ref": "_pytest.assertion.AssertionState", "kind": "Gdef"}, "BINOP_MAP": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "_pytest.assertion.rewrite.BINOP_MAP", "name": "BINOP_MAP", "type": {".class": "Instance", "args": [{".class": "CallableType", "arg_kinds": [2, 4], "arg_names": ["args", "kwargs"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "bound_args": ["_ast.MatMult"], "def_extras": {"first_arg": "self"}, "fallback": "builtins.type", "implicit": false, "is_ellipsis_args": false, "name": null, "ret_type": "_ast.AST", "type_guard": null, "variables": []}, "builtins.str"], "type_ref": "builtins.dict"}}}, "Callable": {".class": "SymbolTableNode", "cross_ref": "typing.Callable", "kind": "Gdef"}, "Config": {".class": "SymbolTableNode", "cross_ref": "_pytest.config.Config", "kind": "Gdef"}, "Dict": {".class": "SymbolTableNode", "cross_ref": "typing.Dict", "kind": "Gdef"}, "IO": {".class": "SymbolTableNode", "cross_ref": "typing.IO", "kind": "Gdef"}, "Iterable": {".class": "SymbolTableNode", "cross_ref": "typing.Iterable", "kind": "Gdef"}, "List": {".class": "SymbolTableNode", "cross_ref": "typing.List", "kind": "Gdef"}, "Optional": {".class": "SymbolTableNode", "cross_ref": "typing.Optional", "kind": "Gdef"}, "PYC_EXT": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "_pytest.assertion.rewrite.PYC_EXT", "name": "PYC_EXT", "type": "builtins.str"}}, "PYC_TAIL": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "_pytest.assertion.rewrite.PYC_TAIL", "name": "PYC_TAIL", "type": "builtins.str"}}, "PYTEST_TAG": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "_pytest.assertion.rewrite.PYTEST_TAG", "name": "PYTEST_TAG", "type": "builtins.str"}}, "Path": {".class": "SymbolTableNode", "cross_ref": "pathlib.Path", "kind": "Gdef"}, "PurePath": {".class": "SymbolTableNode", "cross_ref": "pathlib.PurePath", "kind": "Gdef"}, "Sequence": {".class": "SymbolTableNode", "cross_ref": "typing.Sequence", "kind": "Gdef"}, "Session": {".class": "SymbolTableNode", "cross_ref": "_pytest.main.Session", "kind": "Gdef"}, "Set": {".class": "SymbolTableNode", "cross_ref": "typing.Set", "kind": "Gdef"}, "StoreKey": {".class": "SymbolTableNode", "cross_ref": "_pytest.store.StoreKey", "kind": "Gdef"}, "TYPE_CHECKING": {".class": "SymbolTableNode", "cross_ref": "typing.TYPE_CHECKING", "kind": "Gdef"}, "Tuple": {".class": "SymbolTableNode", "cross_ref": "typing.Tuple", "kind": "Gdef"}, "UNARY_MAP": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "_pytest.assertion.rewrite.UNARY_MAP", "name": "UNARY_MAP", "type": {".class": "Instance", "args": [{".class": "CallableType", "arg_kinds": [2, 4], "arg_names": ["args", "kwargs"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "bound_args": ["_ast.UAdd"], "def_extras": {"first_arg": "self"}, "fallback": "builtins.type", "implicit": false, "is_ellipsis_args": false, "name": null, "ret_type": "_ast.unaryop", "type_guard": null, "variables": []}, "builtins.str"], "type_ref": "builtins.dict"}}}, "Union": {".class": "SymbolTableNode", "cross_ref": "typing.Union", "kind": "Gdef"}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "_pytest.assertion.rewrite.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "_pytest.assertion.rewrite.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "_pytest.assertion.rewrite.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "_pytest.assertion.rewrite.__package__", "name": "__package__", "type": "builtins.str"}}, "_call_assertion_pass": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["lineno", "orig", "expl"], "flags": [], "fullname": "_pytest.assertion.rewrite._call_assertion_pass", "name": "_call_assertion_pass", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["lineno", "orig", "expl"], "arg_types": ["builtins.int", "builtins.str", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "_call_assertion_pass", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "_call_reprcompare": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["ops", "results", "expls", "each_obj"], "flags": [], "fullname": "_pytest.assertion.rewrite._call_reprcompare", "name": "_call_reprcompare", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0], "arg_names": ["ops", "results", "expls", "each_obj"], "arg_types": [{".class": "Instance", "args": ["builtins.str"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["builtins.bool"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["builtins.str"], "type_ref": "typing.Sequence"}, {".class": "Instance", "args": ["builtins.object"], "type_ref": "typing.Sequence"}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "_call_reprcompare", "ret_type": "builtins.str", "type_guard": null, "variables": []}}}, "_check_if_assertion_pass_impl": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "_pytest.assertion.rewrite._check_if_assertion_pass_impl", "name": "_check_if_assertion_pass_impl", "type": {".class": "CallableType", "arg_kinds": [], "arg_names": [], "arg_types": [], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "_check_if_assertion_pass_impl", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}, "_format_assertmsg": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["obj"], "flags": [], "fullname": "_pytest.assertion.rewrite._format_assertmsg", "name": "_format_assertmsg", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["obj"], "arg_types": ["builtins.object"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "_format_assertmsg", "ret_type": "builtins.str", "type_guard": null, "variables": []}}}, "_format_boolop": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["explanations", "is_or"], "flags": [], "fullname": "_pytest.assertion.rewrite._format_boolop", "name": "_format_boolop", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["explanations", "is_or"], "arg_types": [{".class": "Instance", "args": ["builtins.str"], "type_ref": "typing.Iterable"}, "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "_format_boolop", "ret_type": "builtins.str", "type_guard": null, "variables": []}}}, "_format_explanation": {".class": "SymbolTableNode", "cross_ref": "_pytest.assertion.util.format_explanation", "kind": "Gdef"}, "_get_assertion_exprs": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["src"], "flags": [], "fullname": "_pytest.assertion.rewrite._get_assertion_exprs", "name": "_get_assertion_exprs", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["src"], "arg_types": ["builtins.bytes"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "_get_assertion_exprs", "ret_type": {".class": "Instance", "args": ["builtins.int", "builtins.str"], "type_ref": "builtins.dict"}, "type_guard": null, "variables": []}}}, "_read_pyc": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1], "arg_names": ["source", "pyc", "trace"], "flags": [], "fullname": "_pytest.assertion.rewrite._read_pyc", "name": "_read_pyc", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1], "arg_names": ["source", "pyc", "trace"], "arg_types": ["pathlib.Path", "pathlib.Path", {".class": "CallableType", "arg_kinds": [0], "arg_names": [null], "arg_types": ["builtins.str"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "_read_pyc", "ret_type": {".class": "UnionType", "items": ["types.CodeType", {".class": "NoneType"}]}, "type_guard": null, "variables": []}}}, "_rewrite_test": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["fn", "config"], "flags": [], "fullname": "_pytest.assertion.rewrite._rewrite_test", "name": "_rewrite_test", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["fn", "config"], "arg_types": ["pathlib.Path", "_pytest.config.Config"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "_rewrite_test", "ret_type": {".class": "TupleType", "implicit": false, "items": ["os.stat_result", "types.CodeType"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, "type_guard": null, "variables": []}}}, "_saferepr": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["obj"], "flags": [], "fullname": "_pytest.assertion.rewrite._saferepr", "name": "_saferepr", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["obj"], "arg_types": ["builtins.object"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "_saferepr", "ret_type": "builtins.str", "type_guard": null, "variables": []}}}, "_should_repr_global_name": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["obj"], "flags": [], "fullname": "_pytest.assertion.rewrite._should_repr_global_name", "name": "_should_repr_global_name", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["obj"], "arg_types": ["builtins.object"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "_should_repr_global_name", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}, "_write_pyc": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["state", "co", "source_stat", "pyc"], "flags": [], "fullname": "_pytest.assertion.rewrite._write_pyc", "name": "_write_pyc", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0], "arg_names": ["state", "co", "source_stat", "pyc"], "arg_types": ["_pytest.assertion.AssertionState", "types.CodeType", "os.stat_result", "pathlib.Path"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "_write_pyc", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}, "_write_pyc_fp": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["fp", "source_stat", "co"], "flags": [], "fullname": "_pytest.assertion.rewrite._write_pyc_fp", "name": "_write_pyc_fp", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["fp", "source_stat", "co"], "arg_types": [{".class": "Instance", "args": ["builtins.bytes"], "type_ref": "typing.IO"}, "os.stat_result", "types.CodeType"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "_write_pyc_fp", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "assertstate_key": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "_pytest.assertion.rewrite.assertstate_key", "name": "assertstate_key", "type": {".class": "Instance", "args": ["_pytest.assertion.AssertionState"], "type_ref": "_pytest.store.StoreKey"}}}, "ast": {".class": "SymbolTableNode", "cross_ref": "ast", "kind": "Gdef"}, "errno": {".class": "SymbolTableNode", "cross_ref": "errno", "kind": "Gdef"}, "fnmatch_ex": {".class": "SymbolTableNode", "cross_ref": "_pytest.pathlib.fnmatch_ex", "kind": "Gdef"}, "functools": {".class": "SymbolTableNode", "cross_ref": "functools", "kind": "Gdef"}, "get_cache_dir": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["file_path"], "flags": [], "fullname": "_pytest.assertion.rewrite.get_cache_dir", "name": "get_cache_dir", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["file_path"], "arg_types": ["pathlib.Path"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "get_cache_dir", "ret_type": "pathlib.Path", "type_guard": null, "variables": []}}}, "importlib": {".class": "SymbolTableNode", "cross_ref": "importlib", "kind": "Gdef"}, "io": {".class": "SymbolTableNode", "cross_ref": "io", "kind": "Gdef"}, "itertools": {".class": "SymbolTableNode", "cross_ref": "itertools", "kind": "Gdef"}, "marshal": {".class": "SymbolTableNode", "cross_ref": "marshal", "kind": "Gdef"}, "os": {".class": "SymbolTableNode", "cross_ref": "os", "kind": "Gdef"}, "py": {".class": "SymbolTableNode", "cross_ref": "py", "kind": "Gdef"}, "rewrite_asserts": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1, 1], "arg_names": ["mod", "source", "module_path", "config"], "flags": [], "fullname": "_pytest.assertion.rewrite.rewrite_asserts", "name": "rewrite_asserts", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1, 1], "arg_names": ["mod", "source", "module_path", "config"], "arg_types": ["_ast.Module", "builtins.bytes", {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["_pytest.config.Config", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "rewrite_asserts", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "saferepr": {".class": "SymbolTableNode", "cross_ref": "_pytest._io.saferepr.saferepr", "kind": "Gdef"}, "set_location": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["node", "lineno", "col_offset"], "flags": [], "fullname": "_pytest.assertion.rewrite.set_location", "name": "set_location", "type": null}}, "struct": {".class": "SymbolTableNode", "cross_ref": "struct", "kind": "Gdef"}, "sys": {".class": "SymbolTableNode", "cross_ref": "sys", "kind": "Gdef"}, "tokenize": {".class": "SymbolTableNode", "cross_ref": "tokenize", "kind": "Gdef"}, "try_makedirs": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["cache_dir"], "flags": [], "fullname": "_pytest.assertion.rewrite.try_makedirs", "name": "try_makedirs", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["cache_dir"], "arg_types": ["pathlib.Path"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "try_makedirs", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}, "types": {".class": "SymbolTableNode", "cross_ref": "types", "kind": "Gdef"}, "util": {".class": "SymbolTableNode", "cross_ref": "_pytest.assertion.util", "kind": "Gdef"}, "version": {".class": "SymbolTableNode", "cross_ref": "_pytest._version.version", "kind": "Gdef"}}, "path": "/home/patrick/anaconda3/lib/python3.9/site-packages/_pytest/assertion/rewrite.py"}