From ea3dc8029ab6a0f1ee6a8a72f1612dea74892e08 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Mon, 18 Jun 2018 04:47:59 -0400 Subject: bpo-33855: More edits and new minimal tests for IDLE (GH-7761) Part 2 of 3. Continues PR #7689, changeset ee5ef30. Edit and add tests for 18 modules, help_about to replace and run. --- Lib/idlelib/paragraph.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Lib/idlelib/paragraph.py') diff --git a/Lib/idlelib/paragraph.py b/Lib/idlelib/paragraph.py index 1270115a44..81422571fa 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) -- cgit v1.2.1