R. David Murray <rdmur...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue14333>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to