mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03: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 @@ class DictComprehensionTest(unittest.TestCase):
|
|||
"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