Use unittest.main() in test_htmlparser.

This commit is contained in:
Ezio Melotti 2013-11-02 17:49:08 +02:00
parent 007c0477f5
commit 5028f4d461
1 changed files with 1 additions and 7 deletions

View File

@ -753,11 +753,5 @@ class AttributesTolerantTestCase(AttributesStrictTestCase):
("data", "spam"), ("endtag", "a")])
def test_main():
support.run_unittest(HTMLParserStrictTestCase, HTMLParserTolerantTestCase,
AttributesStrictTestCase, AttributesTolerantTestCase)
if __name__ == "__main__":
test_main()
unittest.main()