Use unittest.main() in 3.3 and greater
This commit is contained in:
parent
fb3bd161cb
commit
bf0da6d68b
|
@ -84,8 +84,5 @@ class DictComprehensionTest(unittest.TestCase):
|
|||
"exec")
|
||||
|
||||
|
||||
def test_main():
|
||||
support.run_unittest(__name__)
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_main()
|
||||
unittest.main()
|
||||
|
|
Loading…
Reference in New Issue