[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:
Miss Islington (bot) 2023-12-04 07:59:19 +01:00 committed by GitHub
parent e347a8e0e3
commit 5ada3e5e91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 62 additions and 34 deletions

View file

@ -250,6 +250,7 @@ def _module_browser(parent): # htest #
class Nested_in_closure: pass
ModuleBrowser(parent, file, _htest=True)
if __name__ == "__main__":
if len(sys.argv) == 1: # If pass file on command line, unittest fails.
from unittest import main