[3.12] gh-66819: More IDLE htest updates(2) (GH-112642) (#112643)

Examine and update spec -- callable pairs.
Revise run method.
(cherry picked from commit 3855b45874)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
Miss Islington (bot) 2023-12-03 17:34:08 +01:00 committed by GitHub
parent f5965c2385
commit ee3ef7f196
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)