[New-bugs-announce] [issue7859] support "with self.assertRaises(SomeException) as exc:" syntax

Florent Xicluna report at bugs.python.org
Fri Feb 5 18:02:09 CET 2010


New submission from Florent Xicluna <laxyf at yahoo.fr>:

It would be useful to get the actual exception in order to introspect its attributes.

(See some potential uses in "test_dict")

----------
components: Tests
messages: 98882
nosy: flox
priority: normal
severity: normal
status: open
title: support "with self.assertRaises(SomeException) as exc:" syntax
type: feature request
versions: Python 2.7, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7859>
_______________________________________


More information about the New-bugs-announce mailing list