Message232615
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. |
|
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 | |
|