Message231717
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. |
|
Date |
User |
Action |
Args |
2014-11-26 15:50:51 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou, vstinner, xdegaye, emptysquare |
2014-11-26 15:50:51 | serhiy.storchaka | set | messageid: <1417017051.66.0.238037604809.issue22898@psf.upfronthosting.co.za> |
2014-11-26 15:50:51 | serhiy.storchaka | link | issue22898 messages |
2014-11-26 15:50:51 | serhiy.storchaka | create | |
|