mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
gh-66819: More IDLE htest updates(2) (#112642)
Examine and update spec -- callable pairs. Revise run method.
This commit is contained in:
parent
a9574c68f0
commit
3855b45874
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