mirror of
https://github.com/python/cpython.git
synced 2025-08-09 11:29:45 +00:00
[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:
parent
f5965c2385
commit
ee3ef7f196
9 changed files with 70 additions and 69 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue