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.

classification
Title: test_concurrent_futures writes on stderr
Type: behavior Stage:
Components: Tests Versions: Python 3.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: bquinlan Nosy List: bquinlan, pitrou
Priority: normal Keywords:

Created on 2010-09-20 00:48 by pitrou, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg116902 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-09-20 00:48
test_concurrent_futures writes the following on stderr:

exception calling callback for <Future at 0x6a72508 state=finished returned int>
Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.x.parc-leopard-1/build/Lib/concurrent/futures/_base.py", line 267, in _invoke_callbacks
    callback(self)
  File "/Users/buildbot/buildarea/3.x.parc-leopard-1/build/Lib/test/test_concurrent_futures.py", line 626, in raising_fn
    raise Exception('doh!')
Exception: doh!


test_concurrent_futures should capture stderr instead, and also probably check its value (to be sure that the exception does get logged out properly).
msg118067 - (view) Author: Brian Quinlan (bquinlan) * (Python committer) Date: 2010-10-06 13:07
Fixed in r85288
History
Date User Action Args
2022-04-11 14:57:06adminsetgithub: 54112
2010-10-06 13:08:03bquinlansetstatus: open -> closed
resolution: fixed
messages: + msg118067
2010-09-20 00:48:42pitroucreate