Message250638
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`.) |
|
Date |
User |
Action |
Args |
2015-09-14 07:02:07 | vstinner | set | recipients:
+ vstinner, docs@python, yselivanov |
2015-09-14 07:02:07 | vstinner | set | messageid: <1442214127.49.0.0330500431217.issue25105@psf.upfronthosting.co.za> |
2015-09-14 07:02:07 | vstinner | link | issue25105 messages |
2015-09-14 07:02:07 | vstinner | create | |
|