def METHOD_NAME(self, capsys: pytest.CaptureFixture[str], args: List[str]) -> str:
    """
    Call command.main(), and return the command's stderr.
    """
    def raise_broken_stdout() -> NoReturn:
        raise BrokenStdoutLoggingError()
    cmd = FakeCommand(run_func=raise_broken_stdout)
    status = cmd.main(args)
    assert status == 1
    stderr = capsys.readouterr().err
    return stderr