This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author neologix
Recipients brandjon, jnoller, neologix, pitrou, sbt
Date 2012-02-08.20:48:12
SpamBayes Score 0.0008544136
Marked as misclassified No
Message-id <1328734093.52.0.0989639853269.issue13841@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a trivial patch.
I run the testsuite on one of the Windows buildbots, and there was one failure, in test_concurrent_futures:

"""
======================================================================
FAIL: test_interpreter_shutdown (test.test_concurrent_futures.ProcessPoolShutdownTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\cygwin\home\db3l\buildarea\custom.bolen-windows7\build\lib\test\test_concurrent_futures.py", line 109, in test_interpreter_shutdown
    self.assertFalse(err)
AssertionError: b'[68326 refs]\n[68326 refs]\n[68326 refs]\n[68326 refs]\n[106059 refs]' is not false

----------------------------------------------------------------------
"""

That's simply because test.support.strip_python_stderr only strips the first occurrence of the refs count printed in debug mode at output (which didn't get printed upon ExitProcess).

The patch changes this.
History
Date User Action Args
2012-02-08 20:48:13neologixsetrecipients: + neologix, pitrou, jnoller, sbt, brandjon
2012-02-08 20:48:13neologixsetmessageid: <1328734093.52.0.0989639853269.issue13841@psf.upfronthosting.co.za>
2012-02-08 20:48:12neologixlinkissue13841 messages
2012-02-08 20:48:12neologixcreate