mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
call test() when run as script
This commit is contained in:
@@ -954,3 +954,6 @@ def test(number=0):
|
||||
__builtin__.__import__ = wasImport
|
||||
else:
|
||||
del __builtin__.__import__
|
||||
|
||||
if __name__ == '__main__':
|
||||
test()
|
||||
|
||||
Reference in New Issue
Block a user