mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +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
|
@ -120,7 +120,7 @@ def make_objecttreeitem(labeltext, object, setfunction=None):
|
|||
return c(labeltext, object, setfunction)
|
||||
|
||||
|
||||
def _object_browser(parent): # htest #
|
||||
def _debug_object_browser(parent): # htest #
|
||||
import sys
|
||||
from tkinter import Toplevel
|
||||
top = Toplevel(parent)
|
||||
|
@ -140,4 +140,4 @@ if __name__ == '__main__':
|
|||
main('idlelib.idle_test.test_debugobj', verbosity=2, exit=False)
|
||||
|
||||
from idlelib.idle_test.htest import run
|
||||
run(_object_browser)
|
||||
run(_debug_object_browser)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue