Message232615
| Author |
serhiy.storchaka |
| Recipients |
bkabrda, serhiy.storchaka, vstinner |
| Date |
2014年12月13日.17:47:27 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1418492856.85.0.214387389348.issue19527@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Thenks Antoine for great idea proposed in comments on Rietveld. Following patch introduces strip_python_stdout() which strips COUNT_ALLOCS debug output from stdout (unfortunately this operation is not always unambiguous) and call it in assert_python_ok() and assert_python_failure(). This automatically fixes a large number of tests. Also fixed a number of other tests failing with COUNT_ALLOCS. Virtually all tests are now fixed except test_doctest and test_distutils.
A large part of the patch will be applied only to 3.4 and 2.7. With resolved issue23034 the patch for 3.5 will be much simpler, strip_python_stdout() and @requires_clean_stdout will gone away. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年12月13日 17:47:37 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner, bkabrda |
| 2014年12月13日 17:47:36 | serhiy.storchaka | set | messageid: <1418492856.85.0.214387389348.issue19527@psf.upfronthosting.co.za> |
| 2014年12月13日 17:47:36 | serhiy.storchaka | link | issue19527 messages |
| 2014年12月13日 17:47:36 | serhiy.storchaka | create |
|