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 <>
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:37serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, bkabrda
2014-12-13 17:47:36serhiy.storchakasetmessageid: <>
2014-12-13 17:47:36serhiy.storchakalinkissue19527 messages
2014-12-13 17:47:36serhiy.storchakacreate