Berker Peksag added the comment:

Would using assertWarns be more suitable here? Attached a patch.

----------
keywords: +patch
nosy: +berker.peksag
Added file: http://bugs.python.org/file35722/use-assertwarns.diff

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

Reply via email to