(self)
| 3107 | ) |
| 3108 | |
| 3109 | def test_missing_stubs(self) -> None: |
| 3110 | output = io.StringIO() |
| 3111 | with contextlib.redirect_stdout(output): |
| 3112 | test_stubs(parse_options(["not_a_module"])) |
| 3113 | assert remove_color_code(output.getvalue()) == ( |
| 3114 | "error: not_a_module failed to find stubs\n" |
| 3115 | "Stub:\nMISSING\nRuntime:\nN/A\n\n" |
| 3116 | "Found 1 error (checked 1 module)\n" |
| 3117 | ) |
| 3118 | |
| 3119 | def test_only_py(self) -> None: |
| 3120 | # in this case, stubtest will check the py against itself |
nothing calls this directly
no test coverage detected