[issue15557] Tests for webbrowser module

R. David Murray report at bugs.python.org
Sun Aug 12 06:36:23 CEST 2012


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 <report at bugs.python.org>
<http://bugs.python.org/issue15557>
_______________________________________


More information about the Python-bugs-list mailing list