aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/io/resource_stream.py6
-rw-r--r--tests/io/resource_stream.py.exp1
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/io/resource_stream.py b/tests/io/resource_stream.py
index 940ffaf2f..86975f118 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")
diff --git a/tests/io/resource_stream.py.exp b/tests/io/resource_stream.py.exp
index 81c545efe..75404a347 100644
--- a/tests/io/resource_stream.py.exp
+++ b/tests/io/resource_stream.py.exp
@@ -1 +1,2 @@
1234
+1234