Closed
Description
Originally reported by: Sam Thursfield (BitBucket: samthursfield, GitHub: samthursfield)
I just spent a whole afternoon trying to work out why a testsuite class was being skipped. It turns out it was because there was an init() function in the class.
Py.test doesn't give any kind of warning as to why the function was skipped; it took going through the code and attaching 'pdb' to find the exception that says 'class test_htol_results.TestHtolResultRecords with init won't get collected'. OK, if I'd read the documentation from start to finish I'm sure I'd have known :-) But if Py.test had outputted a warning as to why the testsuite was skipped it would have saved me a lot of time.