mirror of
https://github.com/python/cpython.git
synced 2025-10-06 15:11:58 +00:00
[3.6] bpo-21624: IDLE -- minor htest fixes (GH-2575) (#2578)
(cherry picked from commit 2000150
)
This commit is contained in:
parent
e5bb112ba2
commit
1278d29000
2 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue