summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/query.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/query.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/query.py')
-rw-r--r--Lib/idlelib/query.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/query.py b/Lib/idlelib/query.py
index 5935063..15add6d 100644
--- a/Lib/idlelib/query.py
+++ b/Lib/idlelib/query.py
@@ -301,8 +301,8 @@ class HelpSource(Query):
if __name__ == '__main__':
- import unittest
- unittest.main('idlelib.idle_test.test_query', verbosity=2, exit=False)
+ from unittest import main
+ main('idlelib.idle_test.test_query', verbosity=2, exit=False)
from idlelib.idle_test.htest import run
run(Query, HelpSource)