[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.
----------
keywords: easy
messages: 124675
nosy: michael.foord, r.david.murray, rhettinger
priority: normal
severity: normal
stage: needs patch
status: open
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>
<http://bugs.python.org/issue10775>
_______________________________________
More information about the New-bugs-announce
mailing list