From 2000150c569941584994ec4ec59171961209bec3 Mon Sep 17 00:00:00 2001 From: terryjreedy Date: Tue, 4 Jul 2017 22:41:12 -0400 Subject: bpo-21624: IDLE -- minor htest fixes (#2575) --- Lib/idlelib/browser.py | 2 +- Lib/idlelib/config_key.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v0.12