Use unittest.main() in test_htmlparser.
This commit is contained in:
parent
007c0477f5
commit
5028f4d461
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue