Commit c2bb4519 authored by Damien George's avatar Damien George

tests/basics/sys1.py: Add test for calling sys.exit() without any args.

parent 5ea38e4d
......@@ -24,6 +24,11 @@ try:
except SystemExit as e:
print("SystemExit", e.args)
try:
sys.exit()
except SystemExit as e:
print("SystemExit", e.args)
try:
sys.exit(42)
except SystemExit as e:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment