nose-devs/nose — Issue #473: Exceptions during test selection/loading can stop test run
Author: jpellerin
Created: 2011-12-14 16:12:16+00:00
State: closed

What steps will reproduce the problem?
1. Include in a module an instance (with a test-like name) of a class like:

{{{
class D(dict):
def __getattr__(self, k):
return dict.__getitem__(self, k)
}}}

2. nosetests path/to/module
3. KeyError: __bases__ raised by issubclass() stops test run

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

Test run should not stop. At worst a Failure should be added to test suite.

Please use labels and text to provide additional information.

Google Code Info:
Issue #: 65
Author: jpelle...@gmail.com
Created On: 2007-07-18T18:05:25.000Z
Closed On: 2007-08-12T01:11:16.000Z