[Python-checkins] CVS: python/dist/src/Lib/test test_htmlparser.py,1.6,1.7
Fred L. Drake
fdrake@users.sourceforge.net
Mon, 24 Sep 2001 13:19:10 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv14919/test
Modified Files:
test_htmlparser.py
Log Message:
Adapt to use the test_main() approach.
Index: test_htmlparser.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_htmlparser.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** test_htmlparser.py 2001/09/04 16:26:03 1.6
--- test_htmlparser.py 2001/09/24 20:19:08 1.7
***************
*** 281,283 ****
! test_support.run_unittest(HTMLParserTestCase)
--- 281,288 ----
! def test_main():
! test_support.run_unittest(HTMLParserTestCase)
!
!
! if __name__ == "__main__":
! test_main()