[issue10619] Failed module loading in test discovery loses traceback

2011-01-03 Thread Michael Foord
Michael Foord added the comment: Same is true of Python 2.7 - looks like an invalid error report. -- resolution: -> invalid stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker _

[issue10619] Failed module loading in test discovery loses traceback

2011-01-03 Thread Michael Foord
Michael Foord added the comment: This doesn't appear to be true on py3k (traceback.format_exc is used to preserve the original traceback). Need to check on Python 2.7. -- versions: -Python 3.2 ___ Python tracker

[issue10619] Failed module loading in test discovery loses traceback

2010-12-03 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10619] Failed module loading in test discovery loses traceback

2010-12-03 Thread Michael Foord
New submission from Michael Foord : If a test module fails to load during unittest test discovery (SyntaxError or other exception) then the error is reported during the test run. Due to the way the exception is re-raised the traceback is lost. Originally reported as unittest2 issue 29: https: