New submission from Florent Xicluna <la...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue7859>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to