R. David Murray added the comment:

Regrtest has evolved.  For new test files (ie: 3.3 and later) the preferred (at 
least by me :) idiom now is just:

   if __name__ == '__main__':
       unittest.main()

Everything else is now automatic, using the unittest machinery.  For an 
example, see test_smptd.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15557>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to