Re: [Python-Dev] breaking an exception chain

2010-08-03 Thread R. David Murray
On Tue, 03 Aug 2010 12:22:30 -0500, Benjamin Peterson wrote: > 2010/8/3 R. David Murray : > > So I thought I'd break the exception chain before raising the error the > > test harness really wants to raise. However, I can't figure out any way > > to do that. Am I missing something, or this a mis

Re: [Python-Dev] breaking an exception chain

2010-08-03 Thread Benjamin Peterson
2010/8/3 R. David Murray : > Working with Catherine on an argparse bug, we ran into a test that was > apparently failing by raising a SystemExit, when the test harness was > supposed to be catching that error.  It took us a bit to realize that > there wasn't really a SystemExit error, but that what

[Python-Dev] breaking an exception chain

2010-08-03 Thread R. David Murray
Working with Catherine on an argparse bug, we ran into a test that was apparently failing by raising a SystemExit, when the test harness was supposed to be catching that error. It took us a bit to realize that there wasn't really a SystemExit error, but that what we were seeing was the SystemExit