mirror of
https://github.com/python/cpython.git
synced 2025-07-10 04:45:36 +00:00
[3.11] gh-66819: More IDLE htest updates(4) (GH-112686) (#112689)
Mostly double spacing before 'if __name__...'.
(cherry picked from commit e5b0db0315
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
e347a8e0e3
commit
5ada3e5e91
25 changed files with 62 additions and 34 deletions
|
@ -278,6 +278,7 @@ def copy_strip():
|
|||
out.write(line.rstrip() + b'\n')
|
||||
print(f'{src} copied to {dst}')
|
||||
|
||||
|
||||
def _helpwindow(parent):
|
||||
"Create HelpWindow; called from Idle Help event handler."
|
||||
filename = join(abspath(dirname(__file__)), 'help.html')
|
||||
|
@ -286,6 +287,7 @@ def _helpwindow(parent):
|
|||
return
|
||||
HelpWindow(parent, filename, 'IDLE Help (%s)' % python_version())
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
from unittest import main
|
||||
main('idlelib.idle_test.test_help', verbosity=2, exit=False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue