Commit 2000150c authored by terryjreedy's avatar terryjreedy Committed by GitHub

bpo-21624: IDLE -- minor htest fixes (#2575)

parent 7eb5883a
...@@ -215,7 +215,7 @@ class MethodBrowserTreeItem(TreeItem): ...@@ -215,7 +215,7 @@ class MethodBrowserTreeItem(TreeItem):
edit = file_open(self.file) edit = file_open(self.file)
edit.gotoline(self.cl.methods[self.name]) edit.gotoline(self.cl.methods[self.name])
def _class_browser(parent): #Wrapper for htest def _class_browser(parent): # htest #
try: try:
file = __file__ file = __file__
except NameError: except NameError:
......
...@@ -293,5 +293,6 @@ class GetKeysDialog(Toplevel): ...@@ -293,5 +293,6 @@ class GetKeysDialog(Toplevel):
if __name__ == '__main__': if __name__ == '__main__':
import unittest import unittest
unittest.main('idlelib.idle_test.test_config_key', verbosity=2, exit=False) unittest.main('idlelib.idle_test.test_config_key', verbosity=2, exit=False)
from idlelib.idle_test.htest import run from idlelib.idle_test.htest import run
run(GetKeysDialog) run(GetKeysDialog)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment