commit | e822049efcfb3eafede8035609284656671aece4 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Mon Sep 24 20:19:08 2001 +0000 |
committer | Fred Drake <fdrake@acm.org> | Mon Sep 24 20:19:08 2001 +0000 |
tree | 9919bc219f8717dbef70c4b4828735bb02ba72d8 | |
parent | a3bae3369cca83ee485ed3293e2ad4c53691ba1a [diff] [blame] |
Adapt to use the test_main() approach.
diff --git a/Lib/test/test_htmlparser.py b/Lib/test/test_htmlparser.py index 8661066..85e60e6 100755 --- a/Lib/test/test_htmlparser.py +++ b/Lib/test/test_htmlparser.py
@@ -280,4 +280,9 @@ ]) -test_support.run_unittest(HTMLParserTestCase) +def test_main(): + test_support.run_unittest(HTMLParserTestCase) + + +if __name__ == "__main__": + test_main()