mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Use unittest.main() in 3.3 and greater
This commit is contained in:
parent
fb3bd161cb
commit
bf0da6d68b
1 changed files with 1 additions and 4 deletions
|
|
@ -84,8 +84,5 @@ def test_illegal_assignment(self):
|
|||
"exec")
|
||||
|
||||
|
||||
def test_main():
|
||||
support.run_unittest(__name__)
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_main()
|
||||
unittest.main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue