Skip to content
Snippets Groups Projects
Commit c2bb4519 authored by Damien George's avatar Damien George
Browse files

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

parent 5ea38e4d
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment