This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients njs, pitrou, vstinner
Date 2018-07-17.00:16:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1531786595.45.0.56676864532.issue34130@psf.upfronthosting.co.za>
In-reply-to
Content
Traceback (most recent call last):
  File "<string>", line 39, in <module>
AssertionError

According to the traceback, the captured stderr ('err' variable) is an empty string.

The test uses test.support.capture_stderr() which replaces sys.stderr.

The signal module calls PySys_WriteStderr(msg) which calls sys.stderr.write(msg). If the Python call fails, msg is supposed to be written into the C stderr stream. sys.stderr.flush() is not called, but it shouldn't be needed, since test.support.capture_stderr() replace sys.stderr with a io.StringIO object.
History
Date User Action Args
2018-07-17 00:16:35vstinnersetrecipients: + vstinner, pitrou, njs
2018-07-17 00:16:35vstinnersetmessageid: <1531786595.45.0.56676864532.issue34130@psf.upfronthosting.co.za>
2018-07-17 00:16:35vstinnerlinkissue34130 messages
2018-07-17 00:16:34vstinnercreate