mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-66819: More IDLE htest updates(4) (#112686)
Mostly double spacing before 'if __name__...'.
This commit is contained in:
parent
5a1b5316af
commit
e5b0db0315
25 changed files with 62 additions and 34 deletions
|
@ -103,6 +103,7 @@ def _percolator(parent): # htest #
|
|||
(pin if var2.get() else pout)(t2)
|
||||
|
||||
text.pack()
|
||||
text.focus_set()
|
||||
var1 = tk.IntVar(parent)
|
||||
cb1 = tk.Checkbutton(top, text="Tracer1", command=toggle1, variable=var1)
|
||||
cb1.pack()
|
||||
|
@ -110,6 +111,7 @@ def _percolator(parent): # htest #
|
|||
cb2 = tk.Checkbutton(top, text="Tracer2", command=toggle2, variable=var2)
|
||||
cb2.pack()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from unittest import main
|
||||
main('idlelib.idle_test.test_percolator', verbosity=2, exit=False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue