[New-bugs-announce] [issue10619] Failed module loading in test discovery loses traceback

Michael Foord report at bugs.python.org
Sat Dec 4 01:14:24 CET 2010


New submission from Michael Foord <michael at 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 <report at bugs.python.org>
<http://bugs.python.org/issue10619>
_______________________________________


More information about the New-bugs-announce mailing list