diff options
author | Frank Wierzbicki <fwierzbicki@gmail.com> | 2013-01-16 14:09:57 -0800 |
---|---|---|
committer | Frank Wierzbicki <fwierzbicki@gmail.com> | 2013-01-16 14:09:57 -0800 |
commit | bf0da6d68b407d03969fa70ccd5ea19862812b36 (patch) | |
tree | 599a7de1c0b4cec0286fc96fb35ab1ccaf313748 /Lib/test/test_dictcomps.py | |
parent | fb3bd161cb4e63d10c3e75d1aadb2246b1024ab7 (diff) | |
download | cpython-git-bf0da6d68b407d03969fa70ccd5ea19862812b36.tar.gz |
Use unittest.main() in 3.3 and greater
Diffstat (limited to 'Lib/test/test_dictcomps.py')
-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 5a19319c11..3c8b95cf32 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() |