gh-66819: More IDLE htest updates(4) (#112686)

Mostly double spacing before 'if __name__...'.
This commit is contained in:
Terry Jan Reedy 2023-12-04 01:36:40 -05:00 committed by GitHub
parent 5a1b5316af
commit e5b0db0315
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 62 additions and 34 deletions

View file

@ -29,6 +29,7 @@ class DynOptionMenu(OptionMenu):
if value:
self.variable.set(value)
def _dyn_option_menu(parent): # htest #
from tkinter import Toplevel # + StringVar, Button
@ -49,6 +50,7 @@ def _dyn_option_menu(parent): # htest #
button = Button(top, text="Change option set", command=update)
button.pack()
if __name__ == '__main__':
# Only module without unittests because of intention to replace.
from idlelib.idle_test.htest import run