Undocumented
Method | find_error_message_paths |
Undocumented |
Method | find_missing_cache_files |
Undocumented |
Method | find_module_files |
Undocumented |
Method | parse_module |
Return the module and program names for a test case. |
Method | run_case |
Undocumented |
Method | run_case_once |
Undocumented |
Method | verify_cache |
Undocumented |
Inherited from DataSuite
:
Method | setup |
Setup fixtures (ad-hoc) |
Class Variable | files |
Undocumented |
Class Variable | native_sep |
Undocumented |
Class Variable | required_out_section |
Undocumented |
Class Variable | test_name_suffix |
Undocumented |
Undocumented
Parameters | |
modules:Dict[ | Undocumented |
manager:build.BuildManager | Undocumented |
Returns | |
Set[ | Undocumented |
Return the module and program names for a test case.
Normally, the unit tests will parse the default ('__main__') module and follow all the imports listed there. You can override this behavior and instruct the tests to check multiple modules by using a comment like this in the test case input:
# cmd: mypy -m foo.bar foo.baz
You can also use # cmdN:
to have a different cmd for incremental
step N (2, 3, ...).
Return a list of tuples (module name, file name, program text).
Parameters | |
program_text:str | Undocumented |
incremental_step:int | Undocumented |
Returns | |
List[ | Undocumented |
mypy.test.data.DataSuite.run_case
Undocumented
Parameters | |
testcase:DataDrivenTestCase | Undocumented |
Undocumented
Parameters | |
testcase:DataDrivenTestCase | Undocumented |
operations:List[ | Undocumented |
incremental_step:int | Undocumented |
Undocumented
Parameters | |
module_data:List[ | Undocumented |
a:List[ | Undocumented |
manager:build.BuildManager | Undocumented |
graph:Graph | Undocumented |