summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/pathbrowser.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2023-12-03 09:28:37 (GMT)
committerGitHub <noreply@github.com>2023-12-03 09:28:37 (GMT)
commit3855b45874d5f8eb92a4957fb9de6fdce63eb760 (patch)
tree49bce1712a8376402acd692f7f44c9b64ab6d4da /Lib/idlelib/pathbrowser.py
parenta9574c68f04695eecd19866faaf4cdee5965bc70 (diff)
downloadcpython-3855b45874d5f8eb92a4957fb9de6fdce63eb760.zip
cpython-3855b45874d5f8eb92a4957fb9de6fdce63eb760.tar.gz
cpython-3855b45874d5f8eb92a4957fb9de6fdce63eb760.tar.bz2
gh-66819: More IDLE htest updates(2) (#112642)
Examine and update spec -- callable pairs. Revise run method.
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)