Use unittest.main() in 3.3 and greater

This commit is contained in:
Frank Wierzbicki 2013-01-16 14:09:57 -08:00
parent fb3bd161cb
commit bf0da6d68b
1 changed files with 1 additions and 4 deletions

View File

@ -84,8 +84,5 @@ class DictComprehensionTest(unittest.TestCase):
"exec")
def test_main():
support.run_unittest(__name__)
if __name__ == "__main__":
test_main()
unittest.main()