Serhiy Storchaka added the comment:

About patch.  I think "with" is unnecessary here. One-line 
self.assertRaises(UnicodeEncodeError, self.dumps, ch) looks better for me.

----------
stage:  -> needs patch

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

Reply via email to