Author maubp
Recipients maubp, michael.foord, python-dev, r.david.murray, rbcollins, vstinner
Date 2015-09-14.11:38:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1442230726.24.0.628100747106.issue19746@psf.upfronthosting.co.za>
In-reply-to
Content
This comment is just to note that this change broke our (exotic?) usage of unittest.TestLoader().loadTestsFromName(name) inside a try/except since under Python 3.5 some expected exceptions are no longer raised.

My nasty workaround hack:
https://github.com/biopython/biopython/commit/929fbfbcf2d1ba65ec460a413128dd5e6f68f5bf

I think it is unfortunate that the .errors attribute is just a list of messages as strings, rather than the original exception object(s) which would be easier to handle (e.g. using the subclass hierarchy).
History
Date User Action Args
2015-09-14 11:38:46maubpsetrecipients: + maubp, vstinner, rbcollins, r.david.murray, michael.foord, python-dev
2015-09-14 11:38:46maubpsetmessageid: <1442230726.24.0.628100747106.issue19746@psf.upfronthosting.co.za>
2015-09-14 11:38:46maubplinkissue19746 messages
2015-09-14 11:38:45maubpcreate