diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-06-10 20:03:01 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-06-10 20:03:01 +0300 |
commit | a2803b74f48849cb3a11fb492fee891044ecc1f4 (patch) | |
tree | 61d317e930bf7a9149638f61d41419b85b330981 /tests/basics/gc1.py | |
parent | 0161939ed1d99382296fee3827916d1fa58d3c20 (diff) |
tests/basics: Convert "sys.exit()" to "raise SystemExit".
Diffstat (limited to 'tests/basics/gc1.py')
-rw-r--r-- | tests/basics/gc1.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/basics/gc1.py b/tests/basics/gc1.py index be6c6faed..dcbe0bfcf 100644 --- a/tests/basics/gc1.py +++ b/tests/basics/gc1.py @@ -4,8 +4,7 @@ try: import gc except ImportError: print("SKIP") - import sys - sys.exit() + raise SystemExit print(gc.isenabled()) gc.disable() |