mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-03 14:14:19 +00:00
1 line
28 KiB
JSON
1 line
28 KiB
JSON
{".class": "MypyFile", "_fullname": "_pytest.recwarn", "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "Any": {".class": "SymbolTableNode", "cross_ref": "typing.Any", "kind": "Gdef"}, "Callable": {".class": "SymbolTableNode", "cross_ref": "typing.Callable", "kind": "Gdef"}, "Generator": {".class": "SymbolTableNode", "cross_ref": "typing.Generator", "kind": "Gdef"}, "Iterator": {".class": "SymbolTableNode", "cross_ref": "typing.Iterator", "kind": "Gdef"}, "List": {".class": "SymbolTableNode", "cross_ref": "typing.List", "kind": "Gdef"}, "Optional": {".class": "SymbolTableNode", "cross_ref": "typing.Optional", "kind": "Gdef"}, "Pattern": {".class": "SymbolTableNode", "cross_ref": "typing.Pattern", "kind": "Gdef"}, "T": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeVarExpr", "fullname": "_pytest.recwarn.T", "name": "T", "upper_bound": "builtins.object", "values": [], "variance": 0}}, "TracebackType": {".class": "SymbolTableNode", "cross_ref": "types.TracebackType", "kind": "Gdef"}, "Tuple": {".class": "SymbolTableNode", "cross_ref": "typing.Tuple", "kind": "Gdef"}, "Type": {".class": "SymbolTableNode", "cross_ref": "typing.Type", "kind": "Gdef"}, "TypeVar": {".class": "SymbolTableNode", "cross_ref": "typing.TypeVar", "kind": "Gdef"}, "Union": {".class": "SymbolTableNode", "cross_ref": "typing.Union", "kind": "Gdef"}, "WarningsChecker": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["_pytest.recwarn.WarningsRecorder"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "_pytest.recwarn.WarningsChecker", "name": "WarningsChecker", "type_vars": []}, "flags": ["is_final"], "fullname": "_pytest.recwarn.WarningsChecker", "metaclass_type": null, "metadata": {}, "module_name": "_pytest.recwarn", "mro": ["_pytest.recwarn.WarningsChecker", "_pytest.recwarn.WarningsRecorder", "warnings.catch_warnings", "builtins.object"], "names": {".class": "SymbolTable", "__exit__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["self", "exc_type", "exc_val", "exc_tb"], "flags": [], "fullname": "_pytest.recwarn.WarningsChecker.__exit__", "name": "__exit__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0], "arg_names": [null, null, null, null], "arg_types": ["_pytest.recwarn.WarningsChecker", {".class": "UnionType", "items": [{".class": "TypeType", "item": "builtins.BaseException"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.BaseException", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["types.TracebackType", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__exit__ of WarningsChecker", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 5], "arg_names": ["self", "expected_warning", "match_expr", "_ispytest"], "flags": [], "fullname": "_pytest.recwarn.WarningsChecker.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1, 5], "arg_names": ["self", "expected_warning", "match_expr", "_ispytest"], "arg_types": ["_pytest.recwarn.WarningsChecker", {".class": "UnionType", "items": [{".class": "TypeType", "item": "builtins.Warning"}, {".class": "Instance", "args": [{".class": "TypeType", "item": "builtins.Warning"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.str", {".class": "Instance", "args": ["builtins.str"], "type_ref": "typing.Pattern"}, {".class": "NoneType"}]}, "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__init__ of WarningsChecker", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "expected_warning": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "_pytest.recwarn.WarningsChecker.expected_warning", "name": "expected_warning", "type": {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "TypeType", "item": "builtins.Warning"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}}}, "match_expr": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "_pytest.recwarn.WarningsChecker.match_expr", "name": "match_expr", "type": {".class": "UnionType", "items": ["builtins.str", {".class": "Instance", "args": ["builtins.str"], "type_ref": "typing.Pattern"}, {".class": "NoneType"}]}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "WarningsRecorder": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["warnings.catch_warnings"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "_pytest.recwarn.WarningsRecorder", "name": "WarningsRecorder", "type_vars": []}, "flags": [], "fullname": "_pytest.recwarn.WarningsRecorder", "metaclass_type": null, "metadata": {}, "module_name": "_pytest.recwarn", "mro": ["_pytest.recwarn.WarningsRecorder", "warnings.catch_warnings", "builtins.object"], "names": {".class": "SymbolTable", "__enter__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "_pytest.recwarn.WarningsRecorder.__enter__", "name": "__enter__", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": [null], "arg_types": ["_pytest.recwarn.WarningsRecorder"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__enter__ of WarningsRecorder", "ret_type": "_pytest.recwarn.WarningsRecorder", "type_guard": null, "variables": []}}}, "__exit__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["self", "exc_type", "exc_val", "exc_tb"], "flags": [], "fullname": "_pytest.recwarn.WarningsRecorder.__exit__", "name": "__exit__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0], "arg_names": [null, null, null, null], "arg_types": ["_pytest.recwarn.WarningsRecorder", {".class": "UnionType", "items": [{".class": "TypeType", "item": "builtins.BaseException"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.BaseException", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["types.TracebackType", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__exit__ of WarningsRecorder", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "__getitem__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "i"], "flags": [], "fullname": "_pytest.recwarn.WarningsRecorder.__getitem__", "name": "__getitem__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": [null, null], "arg_types": ["_pytest.recwarn.WarningsRecorder", "builtins.int"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__getitem__ of WarningsRecorder", "ret_type": "warnings.WarningMessage", "type_guard": null, "variables": []}}}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 5], "arg_names": ["self", "_ispytest"], "flags": [], "fullname": "_pytest.recwarn.WarningsRecorder.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 5], "arg_names": ["self", "_ispytest"], "arg_types": ["_pytest.recwarn.WarningsRecorder", "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__init__ of WarningsRecorder", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "__iter__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "_pytest.recwarn.WarningsRecorder.__iter__", "name": "__iter__", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": [null], "arg_types": ["_pytest.recwarn.WarningsRecorder"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__iter__ of WarningsRecorder", "ret_type": {".class": "Instance", "args": ["warnings.WarningMessage"], "type_ref": "typing.Iterator"}, "type_guard": null, "variables": []}}}, "__len__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "_pytest.recwarn.WarningsRecorder.__len__", "name": "__len__", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": [null], "arg_types": ["_pytest.recwarn.WarningsRecorder"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__len__ of WarningsRecorder", "ret_type": "builtins.int", "type_guard": null, "variables": []}}}, "_entered": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "_pytest.recwarn.WarningsRecorder._entered", "name": "_entered", "type": "builtins.bool"}}, "_list": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "_pytest.recwarn.WarningsRecorder._list", "name": "_list", "type": {".class": "Instance", "args": ["warnings.WarningMessage"], "type_ref": "builtins.list"}}}, "clear": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "_pytest.recwarn.WarningsRecorder.clear", "name": "clear", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["_pytest.recwarn.WarningsRecorder"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "clear of WarningsRecorder", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "list": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "_pytest.recwarn.WarningsRecorder.list", "name": "list", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["_pytest.recwarn.WarningsRecorder"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "list of WarningsRecorder", "ret_type": {".class": "Instance", "args": ["warnings.WarningMessage"], "type_ref": "builtins.list"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "list", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["_pytest.recwarn.WarningsRecorder"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "list of WarningsRecorder", "ret_type": {".class": "Instance", "args": ["warnings.WarningMessage"], "type_ref": "builtins.list"}, "type_guard": null, "variables": []}}}}, "pop": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["self", "cls"], "flags": [], "fullname": "_pytest.recwarn.WarningsRecorder.pop", "name": "pop", "type": {".class": "CallableType", "arg_kinds": [0, 1], "arg_names": ["self", "cls"], "arg_types": ["_pytest.recwarn.WarningsRecorder", {".class": "TypeType", "item": "builtins.Warning"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "pop of WarningsRecorder", "ret_type": "warnings.WarningMessage", "type_guard": null, "variables": []}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "_pytest.recwarn.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "_pytest.recwarn.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "_pytest.recwarn.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "_pytest.recwarn.__package__", "name": "__package__", "type": "builtins.str"}}, "check_ispytest": {".class": "SymbolTableNode", "cross_ref": "_pytest.deprecated.check_ispytest", "kind": "Gdef"}, "deprecated_call": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "OverloadedFuncDef", "flags": [], "fullname": "_pytest.recwarn.deprecated_call", "impl": {".class": "FuncDef", "arg_kinds": [1, 2, 4], "arg_names": ["func", "args", "kwargs"], "flags": ["is_overload"], "fullname": "_pytest.recwarn.deprecated_call", "name": "deprecated_call", "type": {".class": "CallableType", "arg_kinds": [1, 2, 4], "arg_names": ["func", "args", "kwargs"], "arg_types": [{".class": "UnionType", "items": [{".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": []}, {".class": "NoneType"}]}, {".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": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "deprecated_call", "ret_type": {".class": "UnionType", "items": ["_pytest.recwarn.WarningsRecorder", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}]}, "type_guard": null, "variables": []}}, "items": [{".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [5], "arg_names": ["match"], "flags": ["is_overload", "is_decorated"], "fullname": "_pytest.recwarn.deprecated_call", "name": "deprecated_call", "type": {".class": "CallableType", "arg_kinds": [5], "arg_names": ["match"], "arg_types": [{".class": "UnionType", "items": ["builtins.str", {".class": "Instance", "args": ["builtins.str"], "type_ref": "typing.Pattern"}, {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "deprecated_call", "ret_type": "_pytest.recwarn.WarningsRecorder", "type_guard": null, "variables": []}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "deprecated_call", "type": null}}, {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 2, 4], "arg_names": ["func", "args", "kwargs"], "flags": ["is_overload", "is_decorated"], "fullname": "_pytest.recwarn.deprecated_call", "name": "deprecated_call", "type": {".class": "CallableType", "arg_kinds": [0, 2, 4], "arg_names": ["func", "args", "kwargs"], "arg_types": [{".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": "TypeVarType", "fullname": "_pytest.recwarn.T", "id": -1, "name": "T", "upper_bound": "builtins.object", "values": [], "variance": 0}, "type_guard": null, "variables": []}, {".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": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "deprecated_call", "ret_type": {".class": "TypeVarType", "fullname": "_pytest.recwarn.T", "id": -1, "name": "T", "upper_bound": "builtins.object", "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarDef", "fullname": "_pytest.recwarn.T", "id": -1, "name": "T", "upper_bound": "builtins.object", "values": [], "variance": 0}]}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "deprecated_call", "type": null}}], "type": {".class": "Overloaded", "items": [{".class": "CallableType", "arg_kinds": [5], "arg_names": ["match"], "arg_types": [{".class": "UnionType", "items": ["builtins.str", {".class": "Instance", "args": ["builtins.str"], "type_ref": "typing.Pattern"}, {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "deprecated_call", "ret_type": "_pytest.recwarn.WarningsRecorder", "type_guard": null, "variables": []}, {".class": "CallableType", "arg_kinds": [0, 2, 4], "arg_names": ["func", "args", "kwargs"], "arg_types": [{".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": "TypeVarType", "fullname": "_pytest.recwarn.T", "id": -1, "name": "T", "upper_bound": "builtins.object", "values": [], "variance": 0}, "type_guard": null, "variables": []}, {".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": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "deprecated_call", "ret_type": {".class": "TypeVarType", "fullname": "_pytest.recwarn.T", "id": -1, "name": "T", "upper_bound": "builtins.object", "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarDef", "fullname": "_pytest.recwarn.T", "id": -1, "name": "T", "upper_bound": "builtins.object", "values": [], "variance": 0}]}]}}}, "fail": {".class": "SymbolTableNode", "cross_ref": "_pytest.outcomes.fail", "kind": "Gdef"}, "final": {".class": "SymbolTableNode", "cross_ref": "typing.final", "kind": "Gdef"}, "fixture": {".class": "SymbolTableNode", "cross_ref": "_pytest.fixtures.fixture", "kind": "Gdef"}, "overload": {".class": "SymbolTableNode", "cross_ref": "typing.overload", "kind": "Gdef"}, "re": {".class": "SymbolTableNode", "cross_ref": "re", "kind": "Gdef"}, "recwarn": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": ["is_generator", "is_decorated"], "fullname": "_pytest.recwarn.recwarn", "name": "recwarn", "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": "recwarn", "ret_type": {".class": "Instance", "args": ["_pytest.recwarn.WarningsRecorder", {".class": "NoneType"}, {".class": "NoneType"}], "type_ref": "typing.Generator"}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "recwarn", "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": "recwarn", "ret_type": {".class": "Instance", "args": ["_pytest.recwarn.WarningsRecorder", {".class": "NoneType"}, {".class": "NoneType"}], "type_ref": "typing.Generator"}, "type_guard": null, "variables": []}}}}, "warnings": {".class": "SymbolTableNode", "cross_ref": "warnings", "kind": "Gdef"}, "warns": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "OverloadedFuncDef", "flags": [], "fullname": "_pytest.recwarn.warns", "impl": {".class": "FuncDef", "arg_kinds": [0, 2, 5, 4], "arg_names": ["expected_warning", "args", "match", "kwargs"], "flags": ["is_overload"], "fullname": "_pytest.recwarn.warns", "name": "warns", "type": {".class": "CallableType", "arg_kinds": [0, 2, 5, 4], "arg_names": ["expected_warning", "args", "match", "kwargs"], "arg_types": [{".class": "UnionType", "items": [{".class": "TypeType", "item": "builtins.Warning"}, {".class": "Instance", "args": [{".class": "TypeType", "item": "builtins.Warning"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}, {".class": "UnionType", "items": ["builtins.str", {".class": "Instance", "args": ["builtins.str"], "type_ref": "typing.Pattern"}, {".class": "NoneType"}]}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "warns", "ret_type": {".class": "UnionType", "items": ["_pytest.recwarn.WarningsChecker", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}]}, "type_guard": null, "variables": []}}, "items": [{".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 5], "arg_names": ["expected_warning", "match"], "flags": ["is_overload", "is_decorated"], "fullname": "_pytest.recwarn.warns", "name": "warns", "type": {".class": "CallableType", "arg_kinds": [0, 5], "arg_names": ["expected_warning", "match"], "arg_types": [{".class": "UnionType", "items": [{".class": "TypeType", "item": "builtins.Warning"}, {".class": "Instance", "args": [{".class": "TypeType", "item": "builtins.Warning"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.str", {".class": "Instance", "args": ["builtins.str"], "type_ref": "typing.Pattern"}, {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "warns", "ret_type": "_pytest.recwarn.WarningsChecker", "type_guard": null, "variables": []}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "warns", "type": null}}, {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 2, 4], "arg_names": ["expected_warning", "func", "args", "kwargs"], "flags": ["is_overload", "is_decorated"], "fullname": "_pytest.recwarn.warns", "name": "warns", "type": {".class": "CallableType", "arg_kinds": [0, 0, 2, 4], "arg_names": ["expected_warning", "func", "args", "kwargs"], "arg_types": [{".class": "UnionType", "items": [{".class": "TypeType", "item": "builtins.Warning"}, {".class": "Instance", "args": [{".class": "TypeType", "item": "builtins.Warning"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".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": "TypeVarType", "fullname": "_pytest.recwarn.T", "id": -1, "name": "T", "upper_bound": "builtins.object", "values": [], "variance": 0}, "type_guard": null, "variables": []}, {".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": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "warns", "ret_type": {".class": "TypeVarType", "fullname": "_pytest.recwarn.T", "id": -1, "name": "T", "upper_bound": "builtins.object", "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarDef", "fullname": "_pytest.recwarn.T", "id": -1, "name": "T", "upper_bound": "builtins.object", "values": [], "variance": 0}]}}, "is_overload": true, "var": {".class": "Var", "flags": [], "fullname": null, "name": "warns", "type": null}}], "type": {".class": "Overloaded", "items": [{".class": "CallableType", "arg_kinds": [0, 5], "arg_names": ["expected_warning", "match"], "arg_types": [{".class": "UnionType", "items": [{".class": "TypeType", "item": "builtins.Warning"}, {".class": "Instance", "args": [{".class": "TypeType", "item": "builtins.Warning"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.str", {".class": "Instance", "args": ["builtins.str"], "type_ref": "typing.Pattern"}, {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "warns", "ret_type": "_pytest.recwarn.WarningsChecker", "type_guard": null, "variables": []}, {".class": "CallableType", "arg_kinds": [0, 0, 2, 4], "arg_names": ["expected_warning", "func", "args", "kwargs"], "arg_types": [{".class": "UnionType", "items": [{".class": "TypeType", "item": "builtins.Warning"}, {".class": "Instance", "args": [{".class": "TypeType", "item": "builtins.Warning"}], "type_ref": "builtins.tuple"}, {".class": "NoneType"}]}, {".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": "TypeVarType", "fullname": "_pytest.recwarn.T", "id": -1, "name": "T", "upper_bound": "builtins.object", "values": [], "variance": 0}, "type_guard": null, "variables": []}, {".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": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "warns", "ret_type": {".class": "TypeVarType", "fullname": "_pytest.recwarn.T", "id": -1, "name": "T", "upper_bound": "builtins.object", "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarDef", "fullname": "_pytest.recwarn.T", "id": -1, "name": "T", "upper_bound": "builtins.object", "values": [], "variance": 0}]}]}}}}, "path": "/home/patrick/anaconda3/lib/python3.9/site-packages/_pytest/recwarn.py"} |