[docs] [issue25105] Docs 3.x buildbot: ":root" found in ...

STINNER Victor report at bugs.python.org
Mon Sep 14 09:02:07 CEST 2015


STINNER Victor added the comment:

It looks like a bug in the "suspicious" tool which should skip preformatted blocks (blocks starting with "::").


+don't provide any options to redirect it::

+

+    >>> import contextlib, io, logging

+    >>> f = io.StringIO()

+    >>> with contextlib.redirect_stderr(f):

+    ...     logging.warning('warning')

+    ...

+    >>> f.getvalue()

+    'WARNING:root:warning\n'

+

+(Contributed by Berker Peksag in :issue:`22389`.)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25105>
_______________________________________


More information about the docs mailing list