Message183245
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'] |
|
Date |
User |
Action |
Args |
2013-03-01 08:47:20 | ezio.melotti | set | recipients:
+ ezio.melotti, bethard, eric.araujo, r.david.murray, Jason.Vas.Dias |
2013-03-01 08:47:20 | ezio.melotti | set | messageid: <1362127640.56.0.976561682507.issue11955@psf.upfronthosting.co.za> |
2013-03-01 08:47:20 | ezio.melotti | link | issue11955 messages |
2013-03-01 08:47:20 | ezio.melotti | create | |
|