[New-bugs-announce] [issue9903] test_concurrent_futures writes on stderr

Antoine Pitrou report at bugs.python.org
Mon Sep 20 02:48:43 CEST 2010

New submission from Antoine Pitrou <pitrou at free.fr>:

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

assignee: bquinlan
components: Tests
messages: 116902
nosy: bquinlan, pitrou
priority: normal
severity: normal
status: open
title: test_concurrent_futures writes on stderr
type: behavior
versions: Python 3.2

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list