summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/ClassBrowser.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-05-27 06:47:38 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-05-27 06:47:38 (GMT)
commit985ef280545912b1a76d1980c27a33e0ee7eaf0a (patch)
treeeeaaaa1d96110340130d89095781a23d51042868 /Lib/idlelib/ClassBrowser.py
parent7e19b60daeb18c3295dd19ce53bb55328bc5cb3c (diff)
downloadcpython-985ef280545912b1a76d1980c27a33e0ee7eaf0a.zip
cpython-985ef280545912b1a76d1980c27a33e0ee7eaf0a.tar.gz
cpython-985ef280545912b1a76d1980c27a33e0ee7eaf0a.tar.bz2
Issue #21477: Idle htest: modify run; add more tests.
Patch by Saimadhav Heblikar. 2.7 backport of 90829, d7eea8f608c2.
Diffstat (limited to 'Lib/idlelib/ClassBrowser.py')
-rw-r--r--Lib/idlelib/ClassBrowser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/ClassBrowser.py b/Lib/idlelib/ClassBrowser.py
index c85340f..6183be9 100644
--- a/Lib/idlelib/ClassBrowser.py
+++ b/Lib/idlelib/ClassBrowser.py
@@ -13,7 +13,6 @@ XXX TO DO:
import os
import sys
import pyclbr
-import re
from idlelib import PyShell
from idlelib.WindowList import ListedToplevel
@@ -223,6 +222,7 @@ def _class_browser(parent): #Wrapper for htest
name = os.path.splitext(file)[0]
flist = PyShell.PyShellFileList(parent)
ClassBrowser(flist, name, [dir], _htest=True)
+ parent.mainloop()
if __name__ == "__main__":
from idlelib.idle_test.htest import run