mirror of
https://github.com/python/cpython.git
synced 2025-10-07 07:31:46 +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")])
|
("data", "spam"), ("endtag", "a")])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def test_main():
|
|
||||||
support.run_unittest(HTMLParserStrictTestCase, HTMLParserTolerantTestCase,
|
|
||||||
AttributesStrictTestCase, AttributesTolerantTestCase)
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
test_main()
|
unittest.main()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue