summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/pathbrowser.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/pathbrowser.py')
-rw-r--r--Lib/idlelib/pathbrowser.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/idlelib/pathbrowser.py b/Lib/idlelib/pathbrowser.py
index 6de242d..48a7787 100644
--- a/Lib/idlelib/pathbrowser.py
+++ b/Lib/idlelib/pathbrowser.py
@@ -99,13 +99,9 @@ class DirBrowserTreeItem(TreeItem):
return sorted
-def _path_browser(parent): # htest #
- PathBrowser(parent, _htest=True)
- parent.mainloop()
-
if __name__ == "__main__":
from unittest import main
main('idlelib.idle_test.test_pathbrowser', verbosity=2, exit=False)
from idlelib.idle_test.htest import run
- run(_path_browser)
+ run(PathBrowser)