summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorterryjreedy <tjreedy@udel.edu>2017-07-05 04:55:29 (GMT)
committerGitHub <noreply@github.com>2017-07-05 04:55:29 (GMT)
commit1278d29000794085f1d9e25f2dadbf70b9076e30 (patch)
tree0e972e6e76717078bc17559179cbcae81e0679c9 /Lib
parente5bb112ba2048cb3ea19481a7b38fe1433c5a7ef (diff)
downloadcpython-1278d29000794085f1d9e25f2dadbf70b9076e30.zip
cpython-1278d29000794085f1d9e25f2dadbf70b9076e30.tar.gz
cpython-1278d29000794085f1d9e25f2dadbf70b9076e30.tar.bz2
[3.6] bpo-21624: IDLE -- minor htest fixes (GH-2575) (#2578)
(cherry picked from commit 2000150)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/idlelib/browser.py2
-rw-r--r--Lib/idlelib/config_key.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/Lib/idlelib/browser.py b/Lib/idlelib/browser.py
index ea05638..73c251e 100644
--- a/Lib/idlelib/browser.py
+++ b/Lib/idlelib/browser.py
@@ -215,7 +215,7 @@ class MethodBrowserTreeItem(TreeItem):
edit = file_open(self.file)
edit.gotoline(self.cl.methods[self.name])
-def _class_browser(parent): #Wrapper for htest
+def _class_browser(parent): # htest #
try:
file = __file__
except NameError:
diff --git a/Lib/idlelib/config_key.py b/Lib/idlelib/config_key.py
index fc6e341..5556b76 100644
--- a/Lib/idlelib/config_key.py
+++ b/Lib/idlelib/config_key.py
@@ -293,5 +293,6 @@ class GetKeysDialog(Toplevel):
if __name__ == '__main__':
import unittest
unittest.main('idlelib.idle_test.test_config_key', verbosity=2, exit=False)
+
from idlelib.idle_test.htest import run
run(GetKeysDialog)