diff options
Diffstat (limited to 'tests/extmod/ure_namedclass.py')
-rw-r--r-- | tests/extmod/ure_namedclass.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/extmod/ure_namedclass.py b/tests/extmod/ure_namedclass.py index e233f17c88..215d09613f 100644 --- a/tests/extmod/ure_namedclass.py +++ b/tests/extmod/ure_namedclass.py @@ -6,9 +6,8 @@ except ImportError: try: import re except ImportError: - import sys print("SKIP") - sys.exit() + raise SystemExit def print_groups(match): print('----') |