This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients Jason.Vas.Dias, bethard, eric.araujo, ezio.melotti, r.david.murray
Date 2013-03-01.08:47:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1362127640.56.0.976561682507.issue11955@psf.upfronthosting.co.za>
In-reply-to
Content
The attached patch adds the list of args to the output of assertRaises in case of error, e.g.:
FAIL: test_failures_one_group_sysargs (test.test_argparse.TestPositionalsNargsZeroOrMoreNone)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/wolf/dev/py/3.3/Lib/test/test_argparse.py", line 216, in wrapper
    test_func(self)
  File "/home/wolf/dev/py/3.3/Lib/test/test_argparse.py", line 236, in test_failures
    parser.parse_args(args)
AssertionError: ArgumentParserError not raised : ['foo', 'bar']
History
Date User Action Args
2013-03-01 08:47:20ezio.melottisetrecipients: + ezio.melotti, bethard, eric.araujo, r.david.murray, Jason.Vas.Dias
2013-03-01 08:47:20ezio.melottisetmessageid: <1362127640.56.0.976561682507.issue11955@psf.upfronthosting.co.za>
2013-03-01 08:47:20ezio.melottilinkissue11955 messages
2013-03-01 08:47:20ezio.melotticreate