diff options
author | Frank Wierzbicki <fwierzbicki@gmail.com> | 2013-01-16 22:09:57 (GMT) |
---|---|---|
committer | Frank Wierzbicki <fwierzbicki@gmail.com> | 2013-01-16 22:09:57 (GMT) |
commit | bf0da6d68b407d03969fa70ccd5ea19862812b36 (patch) | |
tree | 599a7de1c0b4cec0286fc96fb35ab1ccaf313748 | |
parent | fb3bd161cb4e63d10c3e75d1aadb2246b1024ab7 (diff) | |
download | cpython-bf0da6d68b407d03969fa70ccd5ea19862812b36.zip cpython-bf0da6d68b407d03969fa70ccd5ea19862812b36.tar.gz cpython-bf0da6d68b407d03969fa70ccd5ea19862812b36.tar.bz2 |
Use unittest.main() in 3.3 and greater
-rw-r--r-- | Lib/test/test_dictcomps.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_dictcomps.py b/Lib/test/test_dictcomps.py index 5a19319..3c8b95c 100644 --- a/Lib/test/test_dictcomps.py +++ b/Lib/test/test_dictcomps.py @@ -84,8 +84,5 @@ class DictComprehensionTest(unittest.TestCase): "exec") -def test_main(): - support.run_unittest(__name__) - if __name__ == "__main__": - test_main() + unittest.main() |