summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/paragraph.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/paragraph.py')
-rw-r--r--Lib/idlelib/paragraph.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/idlelib/paragraph.py b/Lib/idlelib/paragraph.py
index 1270115..8142257 100644
--- a/Lib/idlelib/paragraph.py
+++ b/Lib/idlelib/paragraph.py
@@ -190,6 +190,5 @@ def get_comment_header(line):
if __name__ == "__main__":
- import unittest
- unittest.main('idlelib.idle_test.test_paragraph',
- verbosity=2, exit=False)
+ from unittest import main
+ main('idlelib.idle_test.test_paragraph', verbosity=2, exit=False)