Message321781
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. |
|
Date |
User |
Action |
Args |
2018-07-17 00:16:35 | vstinner | set | recipients:
+ vstinner, pitrou, njs |
2018-07-17 00:16:35 | vstinner | set | messageid: <1531786595.45.0.56676864532.issue34130@psf.upfronthosting.co.za> |
2018-07-17 00:16:35 | vstinner | link | issue34130 messages |
2018-07-17 00:16:34 | vstinner | create | |
|