[issue14333] queue unittest errors

R. David Murray report at bugs.python.org
Sat Mar 17 21:49:40 CET 2012


R. David Murray <rdmurray at bitdance.com> added the comment:

Not only do I think we should support calling our tests via unittest, I think we should move in the direction of having regrtest be implemented via standard unittest hooks rather than the monster it currently is.  That will take quite a bit of effort, though :)

Given that we are in fact using unittest, I think it is much clearer to follow the standard unittest pattern and have tests that are supposed to be run marked by subclassing TestCase, rather than by being explicitly nominated in boilerplate at the bottom.  Certainly any new test files I write work that way (and I even explicitly use test discovery in test_email).

----------
nosy: +r.david.murray
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed
versions: +Python 2.7, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14333>
_______________________________________


More information about the Python-bugs-list mailing list