summaryrefslogtreecommitdiffstatshomepage
path: root/tests/io/open_append.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/io/open_append.py')
-rw-r--r--tests/io/open_append.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/io/open_append.py b/tests/io/open_append.py
index 2120b72f04..a696823bc5 100644
--- a/tests/io/open_append.py
+++ b/tests/io/open_append.py
@@ -1,4 +1,3 @@
-import sys
try:
import uos as os
except ImportError:
@@ -6,7 +5,7 @@ except ImportError:
if not hasattr(os, "unlink"):
print("SKIP")
- sys.exit()
+ raise SystemExit
# cleanup in case testfile exists
try: