Serhiy Storchaka added the comment:

out can be b'Done.\r\n'. Use self.assertIn.

> If both patches were to be included, the test case in warn_4.patch would test 
> the above patch and not the changes made in Python/_warnings.c.

You can test err for warning message.

The traceback should be cleared before decrementing the reference count. And 
only if Py_REFCNT(v) is 2.

----------

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

Reply via email to