mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Adapt to use the test_main() approach.
This commit is contained in:
parent
a3bae3369c
commit
e822049efc
1 changed files with 6 additions and 1 deletions
|
@ -280,4 +280,9 @@ DOCTYPE html [
|
|||
])
|
||||
|
||||
|
||||
test_support.run_unittest(HTMLParserTestCase)
|
||||
def test_main():
|
||||
test_support.run_unittest(HTMLParserTestCase)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue