ami / .mypy_cache /3.7 /unittest /main.data.json
patrickvonplaten's picture
upload all
c7a0c46
raw
history blame
12.2 kB
{".class": "MypyFile", "_fullname": "unittest.main", "future_import_flags": [], "is_partial_stub_package": false, "is_stub": true, "names": {".class": "SymbolTable", "Any": {".class": "SymbolTableNode", "cross_ref": "typing.Any", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Iterable": {".class": "SymbolTableNode", "cross_ref": "typing.Iterable", "kind": "Gdef", "module_hidden": true, "module_public": false}, "MAIN_EXAMPLES": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "unittest.main.MAIN_EXAMPLES", "name": "MAIN_EXAMPLES", "type": "builtins.str"}}, "MODULE_EXAMPLES": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "unittest.main.MODULE_EXAMPLES", "name": "MODULE_EXAMPLES", "type": "builtins.str"}}, "ModuleType": {".class": "SymbolTableNode", "cross_ref": "types.ModuleType", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Protocol": {".class": "SymbolTableNode", "cross_ref": "typing.Protocol", "kind": "Gdef", "module_hidden": true, "module_public": false}, "TestProgram": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "unittest.main.TestProgram", "name": "TestProgram", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "unittest.main.TestProgram", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "unittest.main", "mro": ["unittest.main.TestProgram", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5], "arg_names": ["self", "module", "defaultTest", "argv", "testRunner", "testLoader", "exit", "verbosity", "failfast", "catchbreak", "buffer", "warnings", "tb_locals"], "flags": [], "fullname": "unittest.main.TestProgram.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5], "arg_names": ["self", "module", "defaultTest", "argv", "testRunner", "testLoader", "exit", "verbosity", "failfast", "catchbreak", "buffer", "warnings", "tb_locals"], "arg_types": ["unittest.main.TestProgram", {".class": "UnionType", "items": [{".class": "NoneType"}, "builtins.str", "types.ModuleType"]}, {".class": "UnionType", "items": ["builtins.str", {".class": "Instance", "args": ["builtins.str"], "type_ref": "typing.Iterable"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "TypeType", "item": "unittest.main._TestRunner"}, "unittest.main._TestRunner", {".class": "NoneType"}]}, "unittest.loader.TestLoader", "builtins.bool", "builtins.int", {".class": "UnionType", "items": ["builtins.bool", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.bool", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.bool", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}, "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of TestProgram", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "buffer": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.main.TestProgram.buffer", "name": "buffer", "type": {".class": "UnionType", "items": ["builtins.bool", {".class": "NoneType"}]}}}, "catchbreak": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.main.TestProgram.catchbreak", "name": "catchbreak", "type": {".class": "UnionType", "items": ["builtins.bool", {".class": "NoneType"}]}}}, "createTests": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1], "arg_names": ["self", "from_discovery", "Loader"], "flags": [], "fullname": "unittest.main.TestProgram.createTests", "name": "createTests", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1], "arg_names": ["self", "from_discovery", "Loader"], "arg_types": ["unittest.main.TestProgram", "builtins.bool", {".class": "UnionType", "items": ["unittest.loader.TestLoader", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "createTests of TestProgram", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "failfast": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.main.TestProgram.failfast", "name": "failfast", "type": {".class": "UnionType", "items": ["builtins.bool", {".class": "NoneType"}]}}}, "module": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.main.TestProgram.module", "name": "module", "type": {".class": "UnionType", "items": [{".class": "NoneType"}, "builtins.str", "types.ModuleType"]}}}, "parseArgs": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "argv"], "flags": [], "fullname": "unittest.main.TestProgram.parseArgs", "name": "parseArgs", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "argv"], "arg_types": ["unittest.main.TestProgram", {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "parseArgs of TestProgram", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "progName": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.main.TestProgram.progName", "name": "progName", "type": {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}}}, "result": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.main.TestProgram.result", "name": "result", "type": "unittest.result.TestResult"}}, "runTests": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "unittest.main.TestProgram.runTests", "name": "runTests", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["unittest.main.TestProgram"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "runTests of TestProgram", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "testNamePatterns": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.main.TestProgram.testNamePatterns", "name": "testNamePatterns", "type": {".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}, {".class": "NoneType"}]}}}, "usageExit": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["self", "msg"], "flags": [], "fullname": "unittest.main.TestProgram.usageExit", "name": "usageExit", "type": {".class": "CallableType", "arg_kinds": [0, 1], "arg_names": ["self", "msg"], "arg_types": ["unittest.main.TestProgram", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "usageExit of TestProgram", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "verbosity": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.main.TestProgram.verbosity", "name": "verbosity", "type": "builtins.int"}}, "warnings": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "unittest.main.TestProgram.warnings", "name": "warnings", "type": {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "_TestRunner": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "unittest.main._TestRunner", "name": "_TestRunner", "type_vars": []}, "deletable_attributes": [], "flags": ["is_protocol"], "fullname": "unittest.main._TestRunner", "has_param_spec_type": false, "metaclass_type": "abc.ABCMeta", "metadata": {}, "module_name": "unittest.main", "mro": ["unittest.main._TestRunner", "builtins.object"], "names": {".class": "SymbolTable", "run": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "test"], "flags": [], "fullname": "unittest.main._TestRunner.run", "name": "run", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "test"], "arg_types": ["unittest.main._TestRunner", {".class": "UnionType", "items": ["unittest.suite.TestSuite", "unittest.case.TestCase"]}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "run of _TestRunner", "ret_type": "unittest.result.TestResult", "type_guard": null, "variables": []}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "__annotations__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "unittest.main.__annotations__", "name": "__annotations__", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "unittest.main.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "unittest.main.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "unittest.main.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "unittest.main.__package__", "name": "__package__", "type": "builtins.str"}}, "main": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeAlias", "alias_tvars": [], "column": 0, "fullname": "unittest.main.main", "line": 54, "no_args": true, "normalized": false, "target": "unittest.main.TestProgram"}}, "sys": {".class": "SymbolTableNode", "cross_ref": "sys", "kind": "Gdef", "module_hidden": true, "module_public": false}, "unittest": {".class": "SymbolTableNode", "cross_ref": "unittest", "kind": "Gdef", "module_hidden": true, "module_public": false}}, "path": "/home/patrick/hf/lib/python3.7/site-packages/mypy/typeshed/stdlib/unittest/main.pyi"}