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.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/io/resource_stream.py b/tests/io/resource_stream.py
index 940ffaf2f3..86975f1181 100644
--- a/tests/io/resource_stream.py
+++ b/tests/io/resource_stream.py
@@ -7,10 +7,8 @@ except AttributeError:
print('SKIP')
sys.exit()
-try:
- buf = uio.resource_stream("data", "file2")
-except NotImplementedError:
- pass
+buf = uio.resource_stream("data", "file2")
+print(buf.read())
# resource_stream(None, ...) look ups from current dir, hence sys.path[0] hack
buf = uio.resource_stream(None, sys.path[0] + "/data/file2")