summaryrefslogtreecommitdiffstatshomepage
path: root/tests/extmod/ure_split_empty.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extmod/ure_split_empty.py')
-rw-r--r--tests/extmod/ure_split_empty.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/extmod/ure_split_empty.py b/tests/extmod/ure_split_empty.py
index ad6334ebae..76ce97ea67 100644
--- a/tests/extmod/ure_split_empty.py
+++ b/tests/extmod/ure_split_empty.py
@@ -7,9 +7,8 @@
try:
import ure as re
except ImportError:
- import sys
print("SKIP")
- sys.exit()
+ raise SystemExit
r = re.compile(" *")
s = r.split("a b c foobar")