stderr should be captured when a bad option is passed.
(self)
| 27 | assert stderr != "" |
| 28 | |
| 29 | def test_capture_empty(self) -> None: |
| 30 | """stderr should be captured when a bad option is passed.""" |
| 31 | _, stderr, _ = mypy.api.run([]) |
| 32 | assert isinstance(stderr, str) |
| 33 | assert stderr != "" |
| 34 | |
| 35 | def test_capture_help(self) -> None: |
| 36 | """stdout should be captured when --help is passed.""" |
nothing calls this directly
no test coverage detected