summaryrefslogtreecommitdiffstats
path: root/Lib/newimp.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/newimp.py')
-rwxr-xr-xLib/newimp.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/newimp.py b/Lib/newimp.py
index 24d082d..614ce94 100755
--- a/Lib/newimp.py
+++ b/Lib/newimp.py
@@ -954,3 +954,6 @@ def test(number=0):
__builtin__.__import__ = wasImport
else:
del __builtin__.__import__
+
+if __name__ == '__main__':
+ test()