Kaydet (Commit) 5028f4d4 authored tarafından Ezio Melotti's avatar Ezio Melotti

Use unittest.main() in test_htmlparser.

üst 007c0477
...@@ -753,11 +753,5 @@ class AttributesTolerantTestCase(AttributesStrictTestCase): ...@@ -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()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment