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