mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
Use unittest.main() in test_htmlparser.
This commit is contained in:
parent
007c0477f5
commit
5028f4d461
1 changed files with 1 additions and 7 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue