summaryrefslogtreecommitdiffstatshomepage
path: root/tests/extmod/framebuf4.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extmod/framebuf4.py')
-rw-r--r--tests/extmod/framebuf4.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/extmod/framebuf4.py b/tests/extmod/framebuf4.py
index 641f5bfc59..8358fa55b9 100644
--- a/tests/extmod/framebuf4.py
+++ b/tests/extmod/framebuf4.py
@@ -2,8 +2,7 @@ try:
import framebuf
except ImportError:
print("SKIP")
- import sys
- sys.exit()
+ raise SystemExit
def printbuf():
print("--8<--")