def METHOD_NAME(self, capsys: pytest.CaptureFixture[str]) -> None:
    """
    Test raising BrokenStdoutLoggingError.
    """
    stderr = self.call_main(capsys, [])
    assert stderr.rstrip() == "ERROR: Pipe to stdout was broken"