nose-devs/nose — Issue #220: Buggy plugin .loadTestsFromModule() silently stops other tests running
Author: jpellerin
Created: 2011-12-14 16:04:08+00:00
State: closed

What steps will reproduce the problem?
1. Write a plugin with a .loadTestsFromModule() that has a bug, causing it
to raise TypeError or AttributeError .

What is the expected output? What do you see instead?

Expected: Logged failure or traceback.

Got: Tests from other plugins' .loadTestsFromModule() stop being run.

What version of the product are you using? On what operating system?

http://python-nose.googlecode.com/svn/branches/0.10.0-stable revision 325,
Ubuntu Linux.

Please provide any additional information below.

nose.loader.loadTestsFromModule() silently swallows TypeError and
AttributeError from .loadTestsFromModule().

I can't tell what the reason (if any) for the big try/except is. The code
looks like it came in with a big set of changes, so it's not immediately
obvious from that.

Google Code Info:
Issue #: 95
Author: j...@pobox.com
Created On: 2007-09-15T17:40:10.000Z
Closed On: 2007-09-17T21:26:38.000Z