[issue9554] test_argparse.py: use new unittest features

Radu Voicilas report at bugs.python.org
Mon May 21 09:39:20 CEST 2012


Radu Voicilas <radu.voicilas at gmail.com> added the comment:

Hi Eric, Denver's patch should apply correctly from the root. Also, I've made the changes you mention:

try: except: assert

has been replaced by:

with self.assertRaises()

----------
Added file: http://bugs.python.org/file25659/test_argparse.py.take2

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


More information about the Python-bugs-list mailing list