mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
[3.11] gh-66819: More IDLE htest updates(2) (GH-112642) (#112644)
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
3d87a988a6
commit
36ad8e61a6
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