Serhiy Storchaka <storch...@gmail.com> added the comment:

> I mean "with self.assertRaises(TypeError):".

Thank you, I did not know that the context managers may catch exceptions
from the nested block.

----------

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

Reply via email to