Antoine Pitrou added the comment:

Instead of writing try / except / self.fail, you could simply use the context 
manager form of assertRaises.

----------
nosy: +neologix, pitrou

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18564>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com


Reply via email to