[py-dev] Instantiating Test* classes

Ian Bicking ianb at colorstudy.com
Fri May 6 19:10:55 CEST 2005


At some point py.test started instantiating all my classes that start 
with Test*.  This is somewhat problematic, as I have lots of support 
classes named TestSomething, which aren't themselves test cases.  It 
wasn't doing this before, though I must admit I haven't run the tests 
for a while so I'm not sure when the change happened.

I can rename all the classes, but of coures I'd rather not.  Is there 
another way of dealing with this?

-- 
Ian Bicking  /  ianb at colorstudy.com  /  http://blog.ianbicking.org



More information about the Pytest-dev mailing list