[Python-checkins] python/dist/src/Lib/test/output test_warnings,1.2,NONE

rhettinger@users.sourceforge.net rhettinger@users.sourceforge.net
Sun, 13 Jul 2003 01:37:42 -0700


Update of /cvsroot/python/python/dist/src/Lib/test/output
In directory sc8-pr-cvs1:/tmp/cvs-serv26065/output

Removed Files:
	test_warnings 
Log Message:
Reworked test_warnings.py:

* It ran fine under "python regrtest.py test_warnings" but failed under
  "python regrtest.py" presumably because other tests would add to
  filtered warnings and not reset them at the end of the test.

* Converted to a unittest format for better control.  Renamed
  monkey() and unmonkey() to setUp() and tearDown().

* Increased coverage by testing all warnings in __builtin__.

* Increased coverage by testing regex matching of specific messages.



--- test_warnings DELETED ---