summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dictcomps.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_dictcomps.py')
-rw-r--r--Lib/test/test_dictcomps.py5
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()