Kristján Valur Jónsson <krist...@ccpgames.com> added the comment: Ok, maybe a bad choice of words :) I don't write unittests that much, of course, but I have found that when I am writing tests for stuff such as http, I want to verify the actual error code, i.e. HTTPError.code, which is not possible using the message alone. Same goes for e.g. socket.error
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6275> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com