New submission from Michael Foord <mich...@voidspace.org.uk>:

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://code.google.com/p/unittest-ext/issues/detail?id=29

----------
assignee: michael.foord
components: Library (Lib)
messages: 123308
nosy: michael.foord
priority: normal
severity: normal
stage: needs patch
status: open
title: Failed module loading in test discovery loses traceback
type: behavior
versions: Python 2.7, Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10619>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to