summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/browser.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/browser.py')
-rw-r--r--Lib/idlelib/browser.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/browser.py b/Lib/idlelib/browser.py
index 672e229..8b9060e 100644
--- a/Lib/idlelib/browser.py
+++ b/Lib/idlelib/browser.py
@@ -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