summaryrefslogtreecommitdiff
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.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/io/resource_stream.py b/tests/io/resource_stream.py
deleted file mode 100644
index b589ff99b..000000000
--- a/tests/io/resource_stream.py
+++ /dev/null
@@ -1,15 +0,0 @@
-import uio
-import usys
-
-try:
- uio.resource_stream
-except AttributeError:
- print("SKIP")
- raise SystemExit
-
-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, usys.path[0] + "/data/file2")
-print(buf.read())