summaryrefslogtreecommitdiffstatshomepage
path: root/tests/io/resource_stream.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/io/resource_stream.py')
-rw-r--r--tests/io/resource_stream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/io/resource_stream.py b/tests/io/resource_stream.py
index 86975f1181..37d985bf16 100644
--- a/tests/io/resource_stream.py
+++ b/tests/io/resource_stream.py
@@ -5,7 +5,7 @@ try:
uio.resource_stream
except AttributeError:
print('SKIP')
- sys.exit()
+ raise SystemExit
buf = uio.resource_stream("data", "file2")
print(buf.read())