diff options
-rw-r--r-- | tests/basics/sys1.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/basics/sys1.py b/tests/basics/sys1.py index 0d74a1292..30e36f81a 100644 --- a/tests/basics/sys1.py +++ b/tests/basics/sys1.py @@ -25,6 +25,11 @@ 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: print("SystemExit", e.args) |