summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/paragraph.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-06-18 09:11:12 (GMT)
committerGitHub <noreply@github.com>2018-06-18 09:11:12 (GMT)
commit684bc3d67797f2b5ca9368fe7ecc1c3093d7b694 (patch)
tree27841d6e84d5377ddfc382f227d82d26dd8cf9db /Lib/idlelib/paragraph.py
parentf14e8eaaa52f799958e77b426283df0f69a81725 (diff)
downloadcpython-684bc3d67797f2b5ca9368fe7ecc1c3093d7b694.zip
cpython-684bc3d67797f2b5ca9368fe7ecc1c3093d7b694.tar.gz
cpython-684bc3d67797f2b5ca9368fe7ecc1c3093d7b694.tar.bz2
bpo-33855: More edits and new minimal tests for IDLE (GH-7761)
Part 2 of 3. Continues PR GH-7689, changeset ee5ef30. Edit and add tests for 18 modules, help_about to replace and run. (cherry picked from commit ea3dc8029ab6a0f1ee6a8a72f1612dea74892e08) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
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)