<div dir="ltr">All-<div style>I&#39;m using Nose to discover, run and report on our collection of unit tests, all of which are written using python unittest classes and methods.  Many of the tests have circumstances in which they should not be run, for instance, if certain components fail to build, or on certain platforms.  We&#39;ve been decorating the tests using the attrib module to define these limitations.  Sometimes I&#39;ve decorated a class, other times a specific test within the class.</div>

<div style><br></div><div style>I&#39;ve noticed that if I decorate a class using attrib, Nose still runs through the class, though it runs none of the test methods within it.  It looks like attrib operates on methods and functions rather than classes.  In particular, this means that setUpClass class methods are still run.  Clearly, this is surprising, and it can actually cause problems in our circumstances.</div>

<div style><br></div><div style>Is this expected/intended?  What is the rationale for not allowing classes to be ignored, and instead ignored at the method level?</div><div style><br></div><div style>Thanks-</div><div style>

 Dan W.</div></div>