summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/PathBrowser.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-05-25 22:44:05 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-05-25 22:44:05 (GMT)
commita2fc99eceae7b3dacc1e7280cc01c3b877ce55ab (patch)
treec6593cf545a51196117abd00623081007bf2ce67 /Lib/idlelib/PathBrowser.py
parente1d54e5f8e63cf8a464a1c4c3d42e4f3a107b83f (diff)
downloadcpython-a2fc99eceae7b3dacc1e7280cc01c3b877ce55ab.zip
cpython-a2fc99eceae7b3dacc1e7280cc01c3b877ce55ab.tar.gz
cpython-a2fc99eceae7b3dacc1e7280cc01c3b877ce55ab.tar.bz2
Issue #21477: Idle htest: modify run; add more tests.
Patch by Saimadhav Heblikar. 2.7 version will follow.
Diffstat (limited to 'Lib/idlelib/PathBrowser.py')
-rw-r--r--Lib/idlelib/PathBrowser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/PathBrowser.py b/Lib/idlelib/PathBrowser.py
index 9404868..58ff830 100644
--- a/Lib/idlelib/PathBrowser.py
+++ b/Lib/idlelib/PathBrowser.py
@@ -1,6 +1,5 @@
import os
import sys
-import re
import importlib.machinery
from idlelib.TreeWidget import TreeItem
@@ -97,6 +96,7 @@ class DirBrowserTreeItem(TreeItem):
def _path_browser(parent):
flist = PyShellFileList(parent)
PathBrowser(flist, _htest=True)
+ parent.mainloop()
if __name__ == "__main__":
from unittest import main