Sat Aug 11 16:45:20 2007

Ticket #118

String exceptions break nose


Priority: normal Reporter: ianb@colorstudy.com
Severity: normal Assigned to: jpellerin
Component: nose Status: new
Version:   Resolution:  
Milestone:   Keywords:  

Description by ianb@colorstudy.com:

If you raise a string exception in a test, like raise "exception", nose breaks in a couple places. Mostly when using issubclass(exc, some_class), because exc is actually a string at that point. An extra test with those issubclass calls should fix it.