Author patriki
Recipients nedbat, patriki, r.david.murray, serhiy.storchaka
Date 2016-12-24.12:05:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1482581136.0.0.464949316111.issue29048@psf.upfronthosting.co.za>
In-reply-to
Content
I've been looking into test_exceptions, why it fails. The reason seems to be that when the tests are executed under coverage, then they get nothing on the line that says the following in test_unraisable().

```python
report = stderr.getvalue()
```
So coverage steal strerr in this case, and the test's thunder.

A way to get around this would be to not let the test rely in stderr but instead catch the exception and unfold it as a string for testing.
History
Date User Action Args
2016-12-24 12:05:36patrikisetrecipients: + patriki, nedbat, r.david.murray, serhiy.storchaka
2016-12-24 12:05:36patrikisetmessageid: <1482581136.0.0.464949316111.issue29048@psf.upfronthosting.co.za>
2016-12-24 12:05:35patrikilinkissue29048 messages
2016-12-24 12:05:35patrikicreate