gh-66819: More IDLE htest updates(2) (#112642)

Examine and update spec -- callable pairs.
Revise run method.
This commit is contained in:
Terry Jan Reedy 2023-12-03 04:28:37 -05:00 committed by GitHub
parent a9574c68f0
commit 3855b45874
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 70 additions and 69 deletions

View file

@ -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)