def METHOD_NAME(self) -> tuple:
    """
    Return stdout/err streams as necessary for error display.
    Subject to the following rules:
    - If a given stream was *not* hidden during execution, a placeholder is
      used instead, to avoid printing it twice.
    - Only the last 10 lines of stream text is included.
    - PTY-driven execution will lack stderr, and a specific message to this
      effect is returned instead of a stderr dump.
    :returns: Two-tuple of stdout, stderr strings.
    .. versionadded:: 1.3
    """
    already_printed = " already printed"
    if "stdout" not in self.result.hide:
        stdout = already_printed
    else:
        stdout = self.result.tail("stdout")
    if self.result.pty:
        stderr = " n/a (PTYs have no stderr)"
    else:
        if "stderr" not in self.result.hide:
            stderr = already_printed
        else:
            stderr = self.result.tail("stderr")
    return stdout, stderr