[New-bugs-announce] [issue10775] assertRaises as a context manager should accept a 'msg' keyword argument.
R. David Murray
report at bugs.python.org
Sun Dec 26 20:19:03 CET 2010
New submission from R. David Murray <rdmurray at bitdance.com>:
assertRaises used as a method can't take a msg keyword argument because all args and keywords are passed to the callable. But in context manager form it could, and this can be useful. See, for example, issue 3583.
nosy: michael.foord, r.david.murray, rhettinger
stage: needs patch
title: assertRaises as a context manager should accept a 'msg' keyword argument.
type: feature request
versions: Python 3.3
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce