Comment 11 for bug 1177608

Revision history for this message
Giulio Fidente (gfidente) wrote :

<lifeless> python 2.6 has no setUpClass.
<lifeless> testtools has no setUpClass
<lifeless> so the call stack is
<lifeless> nose
<lifeless> SomeClass.setUpClass
<lifeless> ... raise skipException
<lifeless> and unless skipException is an exception type nose expects to catch, nose will perceive this as an error.
<lifeless> so. I think this is the issue
<lifeless> https://github.com/nose-devs/nose/blob/master/nose/plugins/skip.py
<lifeless> see how it tries to import from unittest
<lifeless> in 2.7 nose has imported it from there
<lifeless> and so has testtools
<lifeless> so testtools' skipException type is the same type.
<lifeless> In 2.6, we have to make our own, and so does nose, so they are different, and what you're raising it doesn't know about.